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

# Create Tool

> Creates a tool. Provide an existing `taskId` or `hektor_project_id`, or omit both to
import a default agentic tool generated from `name` and `description`.




## OpenAPI

````yaml /openapi.yaml post /v1/tools
openapi: 3.1.0
info:
  title: AnchorBrowser API
  version: 1.0.0
  description: APIs to manage all browser-related actions and configuration.
servers:
  - url: https://api.anchorbrowser.io
    description: API server
security: []
paths:
  /v1/tools:
    post:
      tags:
        - Tools
      summary: Create Tool
      description: >
        Creates a tool. Provide an existing `taskId` or `hektor_project_id`, or
        omit both to

        import a default agentic tool generated from `name` and `description`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                  minLength: 1
                description:
                  type: string
                application_id:
                  type: string
                  format: uuid
                  description: Application (connection) to associate the tool with.
                taskId:
                  type: string
                  description: >-
                    Existing task to back the tool. If omitted, a task is
                    imported.
                hektor_project_id:
                  type: string
                  format: uuid
                browser_configuration:
                  type: object
                  additionalProperties: true
                  description: Default browser session configuration for the tool.
                human_intervention:
                  type: boolean
                  default: false
      responses:
        '201':
          description: Tool created successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  description:
                    type: string
                  application_id:
                    type: string
                    nullable: true
                  task_id:
                    type: string
                  task_version:
                    type: string
                  browser_configuration:
                    type: object
                    additionalProperties: true
                  created_at:
                    type: string
                    format: date-time
                  updated_at:
                    type: string
                    format: date-time
        '500':
          description: Failed to create tool.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlatErrorResponse'
      security:
        - api_key_header: []
components:
  schemas:
    FlatErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
        code:
          type: integer
          description: HTTP status code.
      required:
        - error
  securitySchemes:
    api_key_header:
      type: apiKey
      in: header
      name: anchor-api-key
      description: API key passed in the header

````