Skip to main content

Tool

Derive Macro Tool 

Source
#[derive(Tool)]
{
    // Attributes available to this derive:
    #[tool]
}
Available on crate feature derive only.
Expand description

Derive claude_api::tool_dispatch::Tool for a struct.

See the crate-level docs for the supported attribute syntax and the requirements on the underlying struct.