List MCP server tools

Retrieve all tools available for a specific MCP server configuration.

Pfadparameter

mcp_server_idstringErforderlich
ID of the MCP Server.

Header

xi-api-keystringOptional

Abfrageparameter

environmentstringOptionalStandardwert ist 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.

Antwort

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 objectsOptional

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

error_messagestringOptional
Error message if the operation was not successful.

Fehler

422
Tools List Request Unprocessable Entity Error