curl --request POST \
--url https://api.boostgpt.co/v1/bot/tool \
--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": {},
"type": "mcp"
}
'{
"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"
}
}Create a new tool configuration for an agent
curl --request POST \
--url https://api.boostgpt.co/v1/bot/tool \
--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": {},
"type": "mcp"
}
'{
"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
Project ID
Agent ID
Human-readable label for the MCP server
1 - 255MCP server URL
500Transport protocol
http, sse Tool approval requirement
never, always, tool-specific Custom headers for MCP server requests
Tool type
mcp Tool created successfully
Show child attributes
Was this page helpful?