跳转到内容

toToolDef

function toToolDef(tool): IRToolDef;

Tool.inputSchema(zod)→ IRToolDef 三字段(剥 $schema 元字段省 token)

Tool

IRToolDef