type InferToolName<T> = T extends object ? N : never;
定义于: activities/chat/tools/tool-definition.ts:61
提取工具名称作为字面量类型
T