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

# List run tool filter options

> Returns historical tool-call names that can be used with the `tool_name` run filter.



## OpenAPI

````yaml api-reference/openapi.json GET /api/v1/runs/tool-options
openapi: 3.0.3
info:
  title: Duckie API
  version: 1.0.0
  description: >-
    Read-only API for exporting Duckie runs, tool catalog data, agents,
    guidelines, guardrails, and runbooks.
servers:
  - url: https://app.useduckie.ai
    description: Duckie app
security:
  - DuckieApiKey: []
tags:
  - name: Runs
    description: Run history, run detail, and run filter helpers.
  - name: Tools
    description: Built-in, app, custom, and MCP tools available to the organization.
  - name: Agents
    description: Agent configuration data.
  - name: Guidelines
    description: Published guidelines.
  - name: Guardrails
    description: Escalation and restriction guardrails.
  - name: Runbooks
    description: Published, non-deleted runbooks.
paths:
  /api/v1/runs/tool-options:
    get:
      tags:
        - Runs
      summary: List run tool filter options
      description: >-
        Returns historical tool-call names that can be used with the `tool_name`
        run filter.
      operationId: listRunToolOptions
      responses:
        '200':
          description: Tool filter options.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunToolOptionsResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  headers:
    XRateLimitLimit:
      description: Request limit for the active rate-limit bucket.
      schema:
        type: integer
    XRateLimitRemaining:
      description: Requests remaining in the active rate-limit bucket.
      schema:
        type: integer
    XRateLimitReset:
      description: Unix timestamp when the active rate-limit bucket resets.
      schema:
        type: integer
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
  schemas:
    RunToolOptionsResponse:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/RunToolOption'
    RunToolOption:
      type: object
      required:
        - tool_name
        - display_name
        - run_count
      properties:
        tool_name:
          type: string
        display_name:
          type: string
        run_count:
          type: integer
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Error'
    Error:
      type: object
      required:
        - code
        - message
        - request_id
      properties:
        code:
          type: string
          enum:
            - invalid_request
            - unauthenticated
            - permission_denied
            - not_found
            - rate_limited
            - internal_error
        message:
          type: string
        request_id:
          type: string
        retry_after:
          type: integer
          minimum: 1
  responses:
    Unauthorized:
      description: The request is missing a valid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: The API key does not have the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: A rate limit was exceeded.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-RateLimit-Limit:
          $ref: '#/components/headers/XRateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/XRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/XRateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: The API could not complete the request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    DuckieApiKey:
      type: http
      scheme: bearer
      description: API key created in Duckie Settings -> API Access.

````