search_policy
检索国家、省级、规划三类政策库,返回带出处的原文片段。
什么时候用:用户问政策依据、申报条件、支持标准、某地有什么政策、
「有没有文件规定」这类问题时,先用这个工具拿原文再回答。
Args:
query: 检索问题,用自然语言描述即可。例:「高标准农田建设每亩补助多少」
region: 限定地域,填省份简称(如「四川」「山东」)或 6 位行政区划码
(如「510000」)。留空表示不限地域,全国范围检索。
top_k: 返回条数,1-10,默认 5。
Returns:
每条包含文件名、发文机关、文号、发布日期、相关度分数和原文片段。
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": "search_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| region | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |