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

# List all tools

> Returns a list of all custom tools linked to your account. Tools are
functions that your agents can call to interact with external services.




## OpenAPI

````yaml get /tool
openapi: 3.0.3
info:
  title: iwy API
  description: >
    API for managing AI agents and custom tools. Create conversational AI agents
    with custom capabilities,

    manage tool integrations, and embed AI avatars in your applications.


    ## Authentication

    All endpoints require authentication using a Bearer token
    (IWY_SERVICE_API_KEY).

    You can find your API key at
    [app.iwy.ai/settings](https://app.iwy.ai/settings).


    ## Base URL

    ```

    https://api.iwy.ai/v1

    ```
  version: 1.0.0
  contact:
    name: iwy Support
    url: https://www.iwy.ai/contact
servers:
  - url: https://api.iwy.ai/v1
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Ephemeral Agents
    description: Create one-time use agents with automatic expiration
  - name: Agents
    description: Manage AI agents and their configurations
  - name: Tools
    description: Manage custom tools and functions for agents
  - name: Sessions
    description: Start and manage agent video call sessions
paths:
  /tool:
    get:
      tags:
        - Tools
      summary: List all tools
      description: |
        Returns a list of all custom tools linked to your account. Tools are
        functions that your agents can call to interact with external services.
      operationId: listTools
      responses:
        '200':
          description: Successfully retrieved list of tools
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ToolListItem'
              example:
                - id: dcfae097-1b37-4444-bb0c-1a6abb0320fd
                  name: get_weather
                  description: Fetches current weather for a given location
                - id: 582bf240-4b4d-4df3-bfac-83c955d4d49b
                  name: send_email
                  description: Sends an email to specified recipient
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ToolListItem:
      type: object
      description: Basic information about a tool
      required:
        - id
        - name
        - description
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the tool
          example: dcfae097-1b37-4444-bb0c-1a6abb0320fd
        name:
          type: string
          description: Function name (snake_case)
          example: get_weather
        description:
          type: string
          description: What the tool does
          example: Fetches the current weather for a given city
    Error:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: Error message
          example: Parameter validation failed
        details:
          description: Additional error details
          oneOf:
            - type: string
            - type: object
        execution_time_ms:
          type: integer
          description: Execution time before error occurred
  responses:
    UnauthorizedError:
      description: Authentication failed - invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Unauthorized
            details: Invalid or missing API key
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            error: Internal server error
            details: An unexpected error occurred
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        Your iwy Service API Key. Find it at
        [app.iwy.ai/settings](https://app.iwy.ai/settings).


        Include it in the Authorization header:

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````