Patricia Tool Definitions API
The tool-definitions API from Patricia — 2 operation(s) for tool-definitions.
The tool-definitions API from Patricia — 2 operation(s) for tool-definitions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/patricia-app:patricia-app-tool-definitions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Patricia Tool Definitions API
version: 0.1.0
tags:
- name: tool-definitions
paths:
/v1/tool-definitions:
get:
tags:
- tool-definitions
summary: Search tool definitions
description: List tool definitions with filtering, sorting, and pagination.
operationId: list_items_v1_tool_definitions_get
security:
- HTTPBearer: []
parameters:
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: ANTLR filter expression
title: Q
description: ANTLR filter expression
- name: limit
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 500
minimum: 1
- type: 'null'
description: Page size
title: Limit
description: Page size
- name: sort_by
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Sort expression (e.g. created_at:desc)
title: Sort By
description: Sort expression (e.g. created_at:desc)
- name: fields
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Field projection (e.g. id,name)
title: Fields
description: Field projection (e.g. id,name)
- name: pq
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Pagination cursor query
title: Pq
description: Pagination cursor query
- name: from_prev
in: query
required: false
schema:
type: boolean
description: Backward pagination flag
default: false
title: From Prev
description: Backward pagination flag
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: Paginated tool definition list.
content:
application/json:
schema:
$ref: '#/components/schemas/models__tool__ToolDefinition__SearchValidator'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/tool-definitions/{id}:
get:
tags:
- tool-definitions
summary: Get tool definition
description: Retrieve a single tool definition by ID.
operationId: get_item_v1_tool_definitions__id__get
security:
- HTTPBearer: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
- name: X-Tenant-Id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Tenant-Id
responses:
'200':
description: The requested tool definition.
content:
application/json:
schema:
$ref: '#/components/schemas/models__tool__ToolDefinition__FullValidator'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
models__tool__ToolDefinition__SearchValidator:
properties:
items:
items:
$ref: '#/components/schemas/models__tool__ToolDefinition__FullValidator'
type: array
title: Items
first:
anyOf:
- type: string
- type: 'null'
title: First
next:
anyOf:
- type: string
- type: 'null'
title: Next
previous:
anyOf:
- type: string
- type: 'null'
title: Previous
type: object
required:
- items
title: SearchValidator
description: Typed cursor-paginated list response.
ErrorResponse:
properties:
code:
type: string
title: Code
message:
type: string
title: Message
errors:
anyOf:
- items:
additionalProperties: true
type: object
type: array
- type: 'null'
title: Errors
type: object
required:
- code
- message
title: ErrorResponse
description: Standard error envelope, matching exception handler output.
ToolKind:
type: string
enum:
- native
- sandbox
- integration
- custom
- mcp
title: ToolKind
RiskTier:
type: string
enum:
- read_only
- low
- medium
- high
- critical
title: RiskTier
models__tool__ToolDefinition__FullValidator:
properties:
id:
type: string
format: uuid
title: Id
tenant_id:
type: string
format: uuid
title: Tenant Id
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
kind_code:
$ref: '#/components/schemas/ToolKind'
risk_tier_code:
$ref: '#/components/schemas/RiskTier'
schema:
additionalProperties: true
type: object
title: Schema
endpoint:
anyOf:
- type: string
- type: 'null'
title: Endpoint
enabled:
type: boolean
title: Enabled
config:
additionalProperties: true
type: object
title: Config
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- tenant_id
- name
- kind_code
- risk_tier_code
- schema
- enabled
- config
- created_at
- updated_at
title: FullValidator
description: Response shape for tenant-scoped list and detail reads.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer