Unverified50% confidenceFactExact time
Pydantic v2 的 model_json_schema() 方法默认生成符合 JSON Schema Draft 2020-12 规范的输出,而 FastMCP 会将其适配为 Draft 7 格式以兼容主流 LLM API
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/22/2026
First Seen
Valid until: 10/20/2026
Sources
Related Claims
UnverifiedFastMCP 将函数签名自动转换为符合 JSON Schema Draft 7 规范的参数描述79% similarUnverifiedIn the tool-calling mechanism, developers attach a tool description list in JSON Schema format when calling the LLM API, and the model outputs call parameters in structured JSON format76% similarUnverifiedThe latest version of JSON Schema is Draft 2020-12, maintained by json-schema.org.74% similarUnverified在FastMCP中,函数的类型提示和文档字符串会自动转换为符合JSON Schema规范的工具模式,无需手写JSON Schema74% similarUnverifiedThe JSON structure returned by LLM APIs may vary across model versions.71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/588706API
curl https://kongchang.com/api/v1/knowledge/claims/588706MCP
get_claim(id=588706)