跳转到主要内容
GET
/
api
/
v1
/
tools
/
{tool_name}
获取工具详情
curl --request GET \
  --url http://localhost:5300/api/v1/tools/{tool_name} \
  --header 'Authorization: Bearer <token>'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "tool": {
      "name": "<string>",
      "label": {},
      "description": {},
      "icon": "<string>",
      "spec": {
        "llm_prompt": "<string>",
        "parameters": {}
      }
    }
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

tool_name
string
必填

工具名称

响应

Success

code
integer
示例:

0

msg
string
示例:

"ok"

data
object