List MCP server tools

Retrieve all tools available for a specific MCP server configuration.

Parametry ścieżki

mcp_server_idstringWymagany
ID of the MCP Server.

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

environmentstringOpcjonalnyDomyślnie production

Environment whose values are used when the MCP server URL, headers, or auth connection reference environment variables. Mirrors the environment a conversation would run in; defaults to production.

Odpowiedź

Successful Response
successboolean
Indicates if the operation was successful.
toolslist of objects
A list of tools available on the MCP server.
tool_approval_statuseslist of objectsOpcjonalny

Derived approval states for currently discovered tools. Populated only for persisted MCP servers using per-tool approval; otherwise empty.

error_messagestringOpcjonalny
Error message if the operation was not successful.

Błędy

422
Tools List Request Unprocessable Entity Error