List MCP server tools

Retrieve all tools available for a specific MCP server configuration.

Paramètres de chemin

mcp_server_idstringRequis
ID of the MCP Server.

En-têtes

xi-api-keystringOptionnel

Paramètres de requête

environmentstringOptionnelPar défaut 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.

Réponse

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 objectsOptionnel

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

error_messagestringOptionnel
Error message if the operation was not successful.

Erreurs

422
Tools List Request Unprocessable Entity Error