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

# List Tools

> List the curated tools SLNG maintains together with your organisation live tools. Each item carries its latest published version and a config_valid flag. Filter by name and page with limit and offset.



## OpenAPI

````yaml /api-reference/agents/shared-resources.oas.yaml get /v1/agents/tools
openapi: 3.1.0
info:
  title: SLNG Agent Resources API
  version: 1.0.0
  description: >-
    Public control-plane API for agent resources: tools, MCP servers, Vault
    secrets and variables, and client models.
servers:
  - url: https://api.agents.slng.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Tools
    description: Create, test, publish, version, and attach agent tools.
    x-page-icon: wrench
  - name: MCP servers
    description: Configure MCP servers and refresh their live capabilities.
    x-page-icon: plug
  - name: Vault
    description: >-
      Store organisation secrets and readable variables without exposing secret
      values.
    x-page-icon: key
  - name: Client models
    description: Manage bring-your-own LLM provider credentials.
    x-page-icon: brain
paths:
  /v1/agents/tools:
    get:
      tags:
        - Tools
      summary: List Tools
      description: >-
        List the curated tools SLNG maintains together with your organisation
        live tools. Each item carries its latest published version and a
        config_valid flag. Filter by name and page with limit and offset.
      operationId: listTools
      parameters:
        - name: limit
          in: query
          required: false
          description: Maximum number of items to return, from 1 to 200.
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          description: Number of items to skip before returning results.
          schema:
            type: integer
            maximum: 10000
            minimum: 0
            default: 0
            title: Offset
        - name: name
          in: query
          required: false
          description: >-
            Filter by exact, case-sensitive tool names. Repeat the parameter for
            OR matching. Organisation and curated tools with the same name are
            both returned; use source to distinguish them. Pagination is applied
            after filtering.
          style: form
          explode: true
          example:
            - lookup_customer
          schema:
            type: array
            maxItems: 128
            example:
              - lookup_customer
            items:
              type: string
              example: lookup_customer
              minLength: 1
              maxLength: 200
              pattern: ^[A-Za-z0-9_-]+$
      responses:
        '200':
          description: >-
            The tool gallery for the organisation: curated (SLNG-provided) tools
            plus the organisation's own live tools, each with its latest
            published version and a config_valid flag. Paginated and ordered by
            name.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ToolListItem'
                title: Response V1 List Tools
                example:
                  - id: 7b2a1c34-5d6e-4f70-8a90-1b2c3d4e5f60
                    name: lookup_customer
                    tool_type: api_request
                    description: Look up a customer by id
                    last_run_status: succeeded
                    source: org
                    latest_version: 3
                    config_valid: true
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimitError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ToolListItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          title: Name
        tool_type:
          type: string
          enum:
            - code
            - api_request
            - end_call
            - voicemail_detection
            - transfer_call
            - send_sms
            - current_datetime
            - user_phone_number
          title: Tool Type
          default: code
        description:
          type: string
          title: Description
        last_run_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Run Status
        source:
          type: string
          enum:
            - curated
            - org
          description: >-
            `curated` tools are built in and maintained by SLNG; `org` tools
            were created by your organisation.
          title: Source
        latest_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Latest Version
        config_valid:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Config Valid
        arg_schema:
          anyOf:
            - type: object
              additionalProperties: true
            - type: 'null'
          title: Arg Schema
      type: object
      required:
        - id
        - name
        - description
        - source
      title: ToolListItem
      description: A tool as it appears in the gallery listing.
      example:
        id: 7b2a1c34-5d6e-4f70-8a90-1b2c3d4e5f60
        name: lookup_customer
        tool_type: api_request
        description: Look up a customer by id
        last_run_status: succeeded
        source: org
        latest_version: 3
        config_valid: true
    ApiErrorResponse:
      type: object
      description: Standard error envelope returned for failed requests.
      required:
        - detail
        - error
      properties:
        detail:
          type: string
          description: Short human-readable summary of the error.
        error:
          $ref: '#/components/schemas/ApiErrorDetail'
      example:
        detail: A shared secret or variable named 'STRIPE_KEY' already exists
        error:
          code: RESOURCE_CONFLICT
          message: A shared secret or variable named 'STRIPE_KEY' already exists
          request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
    ApiErrorDetail:
      type: object
      description: Structured error detail carried inside an error response.
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable machine-readable error code.
          example: RESOURCE_CONFLICT
        message:
          type: string
          description: Human-readable explanation of the error.
          example: A shared secret or variable named STRIPE_KEY already exists
        request_id:
          type:
            - string
            - 'null'
          description: Identifier for this request, useful when contacting support.
          example: req_01H8XY7Z9QEXAMPLE
        retryable:
          type: boolean
          description: Whether retrying the same request may succeed.
          example: false
        fields:
          type: array
          description: >-
            Per-field validation problems, when the error relates to specific
            request fields.
          items:
            type: object
            additionalProperties: true
          example: []
      example:
        code: PUBLIC_SHARED_RESOURCES_DISABLED
        message: Public shared resources are disabled for this organisation
        request_id: req_01H8XY7Z9QEXAMPLE
        retryable: false
  responses:
    UnauthorizedError:
      description: The API key is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
          example:
            detail: Invalid API key
            error:
              code: AUTH_REQUIRED
              message: Invalid API key
              request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
              retryable: false
    ForbiddenError:
      description: >-
        The caller lacks permission, or the public shared-resource API is
        disabled for the organisation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
          examples:
            permission_denied:
              summary: Owner or admin access required
              value:
                detail: Organisation owner or admin access required
                error:
                  code: PERMISSION_DENIED
                  message: Organisation owner or admin access required
                  request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
                  retryable: false
            api_disabled:
              summary: Public shared-resource API disabled for the organisation
              value:
                detail: >-
                  Public shared-resource API access is disabled for this
                  organisation
                error:
                  code: PUBLIC_SHARED_RESOURCES_DISABLED
                  message: >-
                    Public shared-resource API access is disabled for this
                    organisation
                  request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
                  retryable: false
    ValidationError:
      description: Request validation failed. See error.fields for the offending fields.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
          example:
            detail: >-
              Request validation failed. Fix the highlighted fields and try
              again.
            error:
              code: VALIDATION_FAILED
              message: >-
                Request validation failed. Fix the highlighted fields and try
                again.
              request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
              retryable: false
              fields:
                - path: name
                  message: >-
                    Name must be SCREAMING_SNAKE_CASE: start with a letter, then
                    letters, digits, or underscores (e.g. STRIPE_API_KEY)
    RateLimitError:
      description: >-
        The organisation exceeded its request rate limit. Retry after the window
        resets.
      headers:
        Retry-After:
          schema:
            type: integer
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
          example:
            detail: Rate limit exceeded. Maximum 60 requests per 60 seconds.
            error:
              code: INTERNAL_ERROR
              message: Rate limit exceeded. Maximum 60 requests per 60 seconds.
              request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
              retryable: false
    InternalServerError:
      description: The request failed unexpectedly. Secret values are never exposed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorResponse'
          example:
            detail: An unexpected error occurred.
            error:
              code: INTERNAL_ERROR
              message: An unexpected error occurred.
              request_id: 018f9b2c-7e4a-7c3d-9a1b-2c3d4e5f6a7b
              retryable: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: SLNG API key
      description: Your SLNG consumer API key.

````