Skip to content

ToolSpecification

Source code in docs_src/capo_bedrock_agent/types/tool_specification.py
class ToolSpecification(TypedDict, closed=True):
    name: "capo_bedrock_agent.types.tool_name.ToolName"
    """<p>The name of the tool.</p>"""
    description: NotRequired["capo_bedrock_agent.types.non_empty_string.NonEmptyString"]
    """<p>The description of the tool.</p>"""
    input_schema: "capo_bedrock_agent.types.tool_input_schema.ToolInputSchema"
    """<p>The input schema for the tool.</p>"""
    strict: NotRequired["bool"]
    """<p>Whether the tool schema is strictly enforced.</p>"""

description instance-attribute

description: NotRequired[NonEmptyString]

The description of the tool.

input_schema instance-attribute

input_schema: ToolInputSchema

The input schema for the tool.

name instance-attribute

name: ToolName

The name of the tool.

strict instance-attribute

strict: NotRequired[bool]

Whether the tool schema is strictly enforced.