Skip to main content
PUT
/
v1
/
bot
/
tool
/
{id}
Update Tool
curl --request PUT \
  --url https://api.boostgpt.co/v1/bot/tool/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "bot_id": "<string>",
  "server_label": "<string>",
  "server_url": "<string>",
  "transport": "http",
  "require_approval": "never",
  "headers": {},
  "is_enabled": true
}
'
{
  "tool": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "server_label": "<string>",
    "server_url": "<string>",
    "transport": "<string>",
    "require_approval": "<string>",
    "headers": {},
    "is_enabled": true,
    "type": "<string>",
    "tools": [
      {
        "name": "<string>",
        "description": "<string>",
        "is_active": true,
        "schema": {}
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key

Path Parameters

id
string<uuid>
required

Tool ID

Body

application/json
project_id
string
required

Project ID

bot_id
string
required

Agent ID

server_label
string

Updated server label

Required string length: 1 - 255
server_url
string<uri>

Updated server URL

Maximum string length: 500
transport
enum<string>

Updated transport protocol

Available options:
http,
sse
require_approval
enum<string>

Updated approval requirement

Available options:
never,
always,
tool-specific
headers
object

Updated headers

is_enabled
boolean

Enable or disable the tool

Response

Tool updated successfully

tool
object