Skip to main content
POST
/
v1
/
bot
/
tool
Create Tool
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"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json
project_id
string
required

Project ID

bot_id
string
required

Agent ID

server_label
string
required

Human-readable label for the MCP server

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

MCP server URL

Maximum string length: 500
transport
enum<string>
required

Transport protocol

Available options:
http,
sse
require_approval
enum<string>
default:never

Tool approval requirement

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

Custom headers for MCP server requests

type
enum<string>
default:mcp

Tool type

Available options:
mcp

Response

Tool created successfully

tool
object