Skip to content

ToolSpec

Source code in docs_src/capo_nova_act/types/tool_spec.py
class ToolSpec(TypedDict, closed=True):
    name: "capo_nova_act.types.tool_name.ToolName"
    """<p>The unique name of the tool that acts will use to invoke it.</p>"""
    description: "capo_nova_act.types.tool_description.ToolDescription"
    """<p>A description of what the tool does and how it should be used.</p>"""
    input_schema: "capo_nova_act.types.tool_input_schema.ToolInputSchema"
    """<p>The JSON schema that defines the expected input format for the tool.</p>"""

description instance-attribute

description: ToolDescription

A description of what the tool does and how it should be used.

input_schema instance-attribute

input_schema: ToolInputSchema

The JSON schema that defines the expected input format for the tool.

name instance-attribute

name: ToolName

The unique name of the tool that acts will use to invoke it.