cURL
curl --request GET \ --url http://localhost:5300/api/v1/tools \ --header 'Authorization: Bearer <token>'
{ "code": 0, "msg": "ok", "data": { "tools": [ { "name": "<string>", "label": {}, "description": {}, "icon": "<string>", "spec": { "llm_prompt": "<string>", "parameters": {} } } ] } }
获取当前 LangBot 实例中所有可用的工具,包括插件工具和 MCP 工具。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
0
"ok"
Show child attributes