> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boostgpt.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Tool

> Create a new tool configuration for an agent



## OpenAPI

````yaml /api-reference/openapi.json post /v1/bot/tool
openapi: 3.0.0
info:
  title: BoostGPT API
  version: 1.0.0
  description: API for managing AI agents with memory capabilities
servers:
  - url: https://api.boostgpt.co
    description: Production server
security:
  - BearerAuth: []
tags:
  - name: Agent
    description: Operations for managing AI agents
  - name: Memory
    description: Operations for managing agent memory sources
  - name: Chat
    description: Operations for chatting with agents and managing conversations
  - name: Subscribers
    description: Operations for managing subscribers and leads
  - name: Tools
    description: Operations for managing agent tools and MCP server integrations
  - name: Analytics
    description: Operations for retrieving agent statistics and analytics
  - name: Heartbeat
    description: Operations for managing autonomous agent scheduling and execution
  - name: User Memory
    description: Operations for managing per-user memory entries
  - name: Email
    description: Operations for managing agent email functionality
  - name: Triggers
    description: Operations for firing proactive agent trigger events
  - name: CRM
    description: >-
      Operations for managing agent CRM contacts, pipelines, deals, follow-ups,
      and reports
  - name: Workflows
    description: Operations for managing agent workflow automations
  - name: Calendar
    description: Operations for managing agent calendar settings, availability, and events
  - name: Workspace
    description: Operations for managing agent workspaces and files
paths:
  /v1/bot/tool:
    post:
      tags:
        - Tools
      summary: Create Tool
      description: Create a new tool configuration for an agent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateToolRequest'
      responses:
        '200':
          description: Tool created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolResponse'
        '400':
          description: Bad request - validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateToolRequest:
      type: object
      required:
        - project_id
        - bot_id
        - server_label
        - server_url
        - transport
      properties:
        project_id:
          type: string
          description: Project ID
        bot_id:
          type: string
          description: Agent ID
        server_label:
          type: string
          minLength: 1
          maxLength: 255
          description: Human-readable label for the MCP server
        server_url:
          type: string
          format: uri
          maxLength: 500
          description: MCP server URL
        transport:
          type: string
          enum:
            - http
            - sse
          description: Transport protocol
        require_approval:
          type: string
          enum:
            - never
            - always
            - tool-specific
          default: never
          description: Tool approval requirement
        headers:
          type: object
          description: Custom headers for MCP server requests
        type:
          type: string
          enum:
            - mcp
          default: mcp
          description: Tool type
    ToolResponse:
      type: object
      properties:
        tool:
          type: object
          properties:
            id:
              type: string
              format: uuid
              description: Tool ID
            server_label:
              type: string
              description: Server label
            server_url:
              type: string
              description: Server URL
            transport:
              type: string
              description: Transport protocol
            require_approval:
              type: string
              description: Approval requirement
            headers:
              type: object
              description: Custom headers
            is_enabled:
              type: boolean
              description: Whether tool is enabled
            type:
              type: string
              description: Tool type
            tools:
              type: array
              description: Available tools from this server
              items:
                type: object
                properties:
                  name:
                    type: string
                  description:
                    type: string
                  is_active:
                    type: boolean
                  schema:
                    type: object
            created_at:
              type: string
              format: date-time
            updated_at:
              type: string
              format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        code:
          type: string
          description: Error code
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Enter your API key

````