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"
}
}Update an existing tool configuration
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"
}
}Enter your API key
Tool ID
Project ID
Agent ID
Updated server label
1 - 255Updated server URL
500Updated transport protocol
http, sse Updated approval requirement
never, always, tool-specific Updated headers
Enable or disable the tool
Tool updated successfully
Show child attributes
Was this page helpful?