[KongchangAI]
Unverified60% 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.

2
Sources
60%
Confidence
Long-term
Relevance
5/21/2026
First Seen

Sources

Related Entities

Related Claims

Cite This Claim

Stable URI
https://kongchang.com/claim/1617
API
curl https://kongchang.com/api/v1/knowledge/claims/1617
MCP
get_claim(id=1617)