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

# List All Tools (global, with filtering)

> Lists tools globally, optionally filtered by an explicit project ID query parameter.



## OpenAPI

````yaml /openapi.yaml get /v1/tools
openapi: 3.1.0
info:
  title: px0 API
  description: >
    px[0] is an open-source prompt infrastructure toolkit for managing prompts
    in production. It replaces hardcoded prompt strings with versioned
    templates, in-process caching, and OpenTelemetry observability, so teams can
    iterate on prompts without touching application code. This is the OpenAPI
    specification for all the public APIs of px0.
  version: 1.0.0
servers:
  - url: http://localhost:3000
    description: Local development server
security: []
paths:
  /v1/tools:
    get:
      tags:
        - Tools
      summary: List All Tools (global, with filtering)
      description: >-
        Lists tools globally, optionally filtered by an explicit project ID
        query parameter.
      operationId: listAllTools
      parameters:
        - name: project
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: The ID of the project to filter by.
        - name: project_id
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Alternate query parameter for filtering by project ID.
      responses:
        '200':
          description: List of tools
          content:
            application/json:
              schema:
                type: object
                properties:
                  tools:
                    type: array
                    items:
                      $ref: '#/components/schemas/Tool'
      security:
        - BearerAuth: []
components:
  schemas:
    Tool:
      type: object
      properties:
        id:
          type: string
          format: uuid
        project_id:
          type: string
          format: uuid
        slug:
          type: string
        name:
          type: string
        description:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - project_id
        - slug
        - name
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Use an access token retrieved from login (Bearer sess_...) or a
        programmatic API key (Bearer ak_...).

````