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

# Test Tool

> Execute the configured tool using llm_params and preset_params. This performs real downstream work. Inspect status_code and data in the result; HTTP 200 from this wrapper alone does not prove the downstream request succeeded.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/tools/{tool_uuid}/test
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/tools/{tool_uuid}/test:
    post:
      tags:
        - Tools
      summary: Test Tool
      description: >-
        Execute the configured tool using llm_params and preset_params. This
        performs real downstream work. Inspect status_code and data in the
        result; HTTP 200 from this wrapper alone does not prove the downstream
        request succeeded.
      operationId: test_tool_api_v1_tools__tool_uuid__test_post
      parameters:
        - name: tool_uuid
          in: path
          required: true
          schema:
            type: string
            title: Tool Uuid
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolTestRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolTestResponse'
        '400':
          description: Bad Request
        '401':
          description: Authentication is missing or invalid.
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    ToolTestRequest:
      properties:
        llm_params:
          additionalProperties: true
          type: object
          title: Llm Params
          description: Values for parameters normally supplied by the model.
        preset_params:
          additionalProperties: true
          type: object
          title: Preset Params
          description: Resolved values for parameters normally supplied from presets.
      type: object
      title: ToolTestRequest
      description: Request body for testing an HTTP API tool outside a live call.
    ToolTestResponse:
      properties:
        status:
          type: string
          title: Status
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Status Code
        data:
          anyOf:
            - {}
            - type: 'null'
          title: Data
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        hint:
          anyOf:
            - type: string
            - type: 'null'
          title: Hint
        request_method:
          type: string
          title: Request Method
        request_url:
          type: string
          title: Request Url
        request_headers:
          additionalProperties:
            type: string
          type: object
          title: Request Headers
        request_body:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Request Body
        request_params:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Request Params
        duration_ms:
          type: integer
          title: Duration Ms
      type: object
      required:
        - status
        - request_method
        - request_url
        - duration_ms
      title: ToolTestResponse
      description: Result of testing an HTTP API tool.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.