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

# Update Tool

> Update a module instance's name



## OpenAPI

````yaml PATCH /module/instance/{instance_id}
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /module/instance/{instance_id}:
    patch:
      summary: Update Module Instance
      description: Update a module instance's name
      parameters:
        - name: instance_id
          in: path
          description: The ID of the module instance
          required: true
          schema:
            type: string
      requestBody:
        description: Module instance update details
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModuleInstanceUpdate'
      responses:
        '200':
          description: Module instance updated successfully
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - Insufficient permissions (requires level 2)
        '404':
          description: Module instance not found
      security:
        - CompanyApiKey: []
components:
  schemas:
    ModuleInstanceUpdate:
      type: object
      properties:
        instance_name:
          type: string
          description: New name for the instance
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````