待验证50% 置信解决方案精确时间
工具插件示例从 dsh-tools 引入 defineTool 并声明 inject: ['tools'],通过 ctx.tools.register 注册工具,工具需定义 name、description、parameters、execute、output.schema 和 output.render
1
来源数
50%
置信度
中期 (~90 天)
时效性
2026/9/27
首次发现
有效期至:2026/12/26
来源
涉及实体
相关事实
待验证The 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.76% 相似待验证工具Schema包含功能说明、参数名称、类型、含义解释以及required标记参数是否必填75% 相似待验证传统的工具调用(Tool Calling)依赖结构化的API接口,需要开发者预先定义好每个工具的输入输出格式75% 相似待验证DSH 的创造模式可在缺少工具时自行封装、创造新插件来完成目标,这种能力被称为工具制造(Tool Making)72% 相似待验证可通过给@tool装饰器传入参数(如@tool("calculator", description="..."))自定义工具名称或描述72% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/954412API
curl https://kongchang.com/api/v1/knowledge/claims/954412MCP
get_claim(id=954412)