21 个 Custom Tool 的实验结果
每轮使用同一组 21 道自然语言题,每题新建一个真实 MA Session。业务数据来自本地测试夹具。
三轮对照
| 工具配置 | 首个命中 | 任一步命中 | 目标返回 ok | 有文本并结束 | 失败调用 / 总调用 | P50 / P95(秒) |
|---|---|---|---|---|---|---|
| 原工具说明 | 15/21 | 19/21 | 18/21 | 21/21 | 5/34 | 5.25 / 8.50 |
| 补充说明与示例 | 16/21 | 19/21 | 19/21 | 21/21 | 1/31 | 5.19 / 7.37 |
| 展开嵌套参数 | 17/21 | 19/21 | 19/21 | 21/21 | 0/27 | 5.25 / 7.31 |
耗时从发送问题算到收到 end_turn,包含工具执行及轮询等待。每题每种配置各跑一次。
哪些工具还需要点名调用?
最终配置中,独立鉴别评估和跨日单宠指标这两题没有自然选中目标工具。两道补测明确指定工具后,成功回包的工具合计覆盖 21 个。告警工具在实验环境返回 service_absent,表示告警服务未接入。
本地参数与回包验证
每个工具使用指定参数调用三次,共 63 次。下表为本地断言通过数。
| 工具名 | 通过次数 |
|---|---|
get_home_feeder_status | 3 / 3 |
get_pet_context | 3 / 3 |
get_pet_device_status | 3 / 3 |
query_pet_timeline | 3 / 3 |
get_pet_metric | 3 / 3 |
list_pet_alerts | 3 / 3 |
list_home_pets | 3 / 3 |
get_home_device_inventory | 3 / 3 |
query_home_feeder_timeline | 3 / 3 |
get_home_context | 3 / 3 |
get_home_metric_comparison | 3 / 3 |
get_recommendations | 3 / 3 |
search_offers | 3 / 3 |
consult_pet_health | 3 / 3 |
assess_differentials | 3 / 3 |
ask_user_question | 3 / 3 |
get_product_help | 3 / 3 |
web_search | 3 / 3 |
get_feeder_plan_summary | 3 / 3 |
get_feeding_plan_summary | 3 / 3 |
execute_pet_action | 3 / 3 |