Skip to content

ToolReference

Base classes

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

⋔ Inheritance diagram

graph TD
  2251034080["output_types.ToolReference"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2251034080
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A single tool reference returned by ToolSearch.

Source code in src/clawd_code_sdk/models/output_types.py
class ToolReference(TypedDict):
    """A single tool reference returned by ToolSearch."""

    type: Literal["tool_reference"]
    """Always 'tool_reference'."""
    tool_name: str
    """The fully qualified tool name."""

tool_name instance-attribute

tool_name: str

The fully qualified tool name.

type instance-attribute

type: Literal['tool_reference']

Always 'tool_reference'.

:fa-brands-github: Show source on GitHub