LangBot Docs
工具

获取所有可用工具

获取当前 LangBot 实例中所有可用的工具,包括插件工具和 MCP 工具。

GET
/api/v1/tools

获取当前 LangBot 实例中所有可用的工具,包括插件工具和 MCP 工具。

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/api/v1/tools"
{  "code": 0,  "msg": "ok",  "data": {    "tools": [      {        "name": "string",        "label": {          "property1": "string",          "property2": "string"        },        "description": {          "property1": "string",          "property2": "string"        },        "icon": "string",        "spec": {          "llm_prompt": "string",          "parameters": {}        }      }    ]  }}