function toToolDef(tool): IRToolDef;
Tool.inputSchema(zod)→ IRToolDef 三字段(剥 $schema 元字段省 token)
Tool
IRToolDef
感谢反馈,我们会持续改进这篇文章。