跳到正文
GitHub · 去对齐工具与仓库·· 6 天前精选AI 评分58

standard-tool 发布 StandardToolV0 规范:用统一类型定义 LLM 工具

finom/standard-tool

来源与原文

GitHub · 去对齐工具与仓库

发布时间:(北京时间)

阅读原始来源 · github.com ↗
完整链接与内容说明

https://github.com/finom/standard-tool

本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。

AI 导读

Andrey Gubanov 发布 standard-tool,提出 StandardToolV0 接口,让 LLM 工具用同一类型对接不同 provider、SDK 和框架,状态为 RFC,V0 形状已冻结。工具通过实现 Standard Schema 的 schema 库(Zod 4.2+、ArkType 2.1.28+、Valibot)获得运行时校验与 JSON Schema 生成,参考实现约 90 行,附 OpenAI、Anthropic、Gemini、MCP、Vercel AI SDK 等的 schema 字段与方言接线表。仓库地址 https://github.com/finom/standard-tool。

推荐理由

作者给出了跨 OpenAI、Anthropic、Gemini、MCP 等不同 schema 字段与方言的接线表,可直接照抄复用。

来源:GitHub · 去对齐工具与仓库 · github.com