suggest_filters
Maps colloquial purchasing terms to candidate GB/T subcategory codes with match counts, helping you choose the right filter for supplier search when direct keyword queries miss.
Instructions
把用户原话(口语/采购词)映射成候选国标小类码,供你改用 search_vendors(gb=…)。用户说的是「机加工」,名录里按「机械零部件加工」归档——别名表覆盖不了所有说法,所以本工具把「拆词 + 别名 + 类名」的候选和每类条数给你,由你做最终语义选择。search_vendors 命中偏少时也会内联 suggested_gb。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "suggest_filters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 可选,用于拼出下一步调用参数 | |
| limit | No | 候选码条数上限(1-30) | |
| query | Yes | 用户原话,如 机加工 / 不锈钢板激光切割折弯(必填) |