Baidu Maps

Third-party via LinkAI

Baidu Maps toolkit: geocoding, place search, nearby search and route planning.

LinkAI v1.0.0

Install command

$ cow skill install plugin-baidu-map
Run in a terminal or send to CowAgent to install
View on LinkAI

Required environment variables

LINKAI_API_KEY

Required tools

curl
Search
---
name: plugin-baidu-map
description: 百度地图 - 百度地图工具集,包含地理编码、地点检索、周边查询、路线规划等功能。当需要执行该插件提供的功能时可使用此技能。
metadata:
  requires:
    bins: ["curl"]
    env: ["LINKAI_API_KEY"]
---

# 百度地图

## Setup

This skill requires a LinkAI API Key.

1. Get your API Key from [LinkAI Console](https://link-ai.tech/console/interface)
2. Set the environment variable: `export LINKAI_API_KEY=Link_xxxxxxxxxxxx`

## Skill Args Definition

```json
{
    "type": "function",
    "function": {
        "name": "plugin-baidu-map",
        "description": "百度地图 - 百度地图工具集,包含地理编码、地点检索、周边查询、路线规划等功能。当需要执行该插件提供的功能时可使用此技能。",
        "parameters": {
            "type": "object",
            "properties": {
                "input": {
                    "type": "string",
                    "description": "用户的请求内容"
                }
            },
            "required": [
                "input"
            ]
        }
    }
}
```

## Usage

**Example**:

```bash
curl -X POST "https://api.link-ai.tech/v1/plugin/execute" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LINKAI_API_KEY" \
  -d '{
    "code": "baidu-map",
    "input": "用户请求内容"
}'
```

> 建议设置超时时间为 120s。

**Response**:

```json
{
    "success": true,
    "code": 200,
    "message": "success",
    "data": "<execution result>"
}
```