McpTool

McpTool
McpTool

A single MCP tool provided by a registered MCP server.

JSON Example
{
    "id": "string",
    "server": {
        "id": "string",
        "name": "string"
    },
    "tool_type": "string",
    "tool_configuration_type": "string",
    "origin_name": "string",
    "description": "string",
    "annotations": "string",
    "input_schema": "string",
    "output_schema": "string",
    "is_approved": false,
    "availability": "string",
    "last_available_at": 0,
    "last_updated_at": 0
}
string As uuid As uuid
id
Required

id

server
Optional

The server which serves the tool. If not set, the tool is provided by a built-in PAIS service.

string
tool_type
Optional
Constraints: default: MCP

Tool type, which is always MCP.

tool_configuration_type
Required

Configuration type of the Tool for determining its usage.

Possible values are : GENERIC_MCP_TOOL_LINK, PAIS_KNOWLEDGE_BASE_INDEX_SEARCH_TOOL_LINK,
string
origin_name
Required

A name of the MCP tool according to the MCP server.

string
description
Optional

A text description of the MCP tool and its function.

string
annotations
Optional

Optional annotation as JSON dictionary containing MCP tool details, such as tool "title". For a full set of available annotations, refer to the MCP documentation

string
input_schema
Required

JSON schema describing the input parameters of the tool.

string
output_schema
Optional

Optional JSON schema describing the output format of the tool.

boolean
is_approved
Required

Whether the MCP tool is approved.

availability
Required

Availability status of a tool.

Possible values are : AVAILABLE, UNAVAILABLE,
integer
last_available_at
Required

Unix timestamp (in seconds) when the MCP tool was available.

integer
last_updated_at
Required

Unix timestamp (in seconds) when the MCP tool entry was last updated.