Unverified50% confidenceFactExact time
可通过给@tool装饰器传入参数(如@tool("calculator", description="..."))自定义工具名称或描述
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
8/14/2026
First Seen
Valid until: 11/12/2026
Sources
Related Claims
UnverifiedPython'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.77% similarUnverifiedThe Tool Registry stores tools in a dictionary where the key is the tool name and the value is a ToolDefinition containing name, description, parameter list, and handler function.74% similarUnverified工具Schema包含功能说明、参数名称、类型、含义解释以及required标记参数是否必填70% similarUnverifiedTool通常包含名称、描述、输入参数Schema和执行函数四个核心要素69% similarUnverifiedFunction 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.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/746457API
curl https://kongchang.com/api/v1/knowledge/claims/746457MCP
get_claim(id=746457)