Verified65% confidenceFactExact time
Python's @tool decorator uses setattr to attach a __tool_definition__ attribute to the function object, allowing the function to carry self-descriptive information at runtime.
3
Sources
65%
Confidence
Long-term
Relevance
5/21/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedYou can customize a tool's name or description by passing arguments to the @tool decorator (e.g., @tool("calculator", description="...")).77% similarVerifiedFunction Calling (Tool Use) is a standardized mechanism for large models to invoke external tools, where developers pre-declare tool names, descriptions, and parameter schemas, and the model autonomously determines when to make a call.70% similarUnverifiedTools are functions exposed by applications, containing a name, a brief description, and the required input parameters.68% similarUnverifiedA Tool typically contains four core elements: name, description, input parameter schema, and execution function.67% similarUnverifiedIn Mantle, tools are async Python functions with decorators, and type hints and descriptions are the only basis for the LLM to understand a tool's purpose.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1617API
curl https://kongchang.com/api/v1/knowledge/claims/1617MCP
get_claim(id=1617)