行政区划代码查询
region_lookupFind Chinese provincial, municipal, or county divisions by entering an administrative code or name. Access accurate, structured geographic data for China from official sources.
Instructions
按代码(2/4/6 位,或 12 位取前 6 位)或名称查询省市县行政区划。覆盖:31 个省级行政区(不含港澳台)的省、市、县三级;来源:modood/Administrative-divisions-of-China(数据源自国家统计局 / 民政部公开数据)
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": "region_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | 代码如 330106,或名称如 西湖区 |