配置高德 Key
set_amap_keyValidate and save your Amap Web Service API key to enable nearby and route searches. The key is tested with a real API call before storing.
Instructions
录入并校验高德地图「Web服务」类型的 Key。 会先拿一个测试地址真实调一次高德接口,校验通过才写入本地配置文件,之后所有查询自动使用。 用户提供 Key 后调用本工具即可完成认证,不需要修改客户端配置或重启。
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": {
"key": "<key>"
},
"name": "set_amap_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | 高德开放平台的「Web服务」类型 Key |