interface Tool {
    [TOOL_SYMBOL]: true;
    id: string;
}

Hierarchy (view full)

Implemented by

Properties

Properties

[TOOL_SYMBOL]: true
id: string

Stable identifier used to key the tool inside a ToolContext. For function tools this mirrors name; for provider tools this is the provider tool id.