Skip to content

ToolSearchInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  4182648727["input_types.ToolSearchInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 4182648727
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the ToolSearch tool. Searches for and selects tools by name or query.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class ToolSearchInput(TypedDict):
    """Input for the ToolSearch tool. Searches for and selects tools by name or query."""

    query: str
    """Search query or `select:<tool_name>` to select a specific tool."""
    max_results: NotRequired[int]
    """Maximum number of tool references to return."""

max_results instance-attribute

max_results: NotRequired[int]

Maximum number of tool references to return.

query instance-attribute

query: str

Search query or select:<tool_name> to select a specific tool.

:fa-brands-github: Show source on GitHub