List MCP server tools

Retrieve all tools available for a specific MCP server configuration.

路径参数

mcp_server_idstring必需
ID of the MCP Server.

请求头

xi-api-keystring可选

查询参数

environmentstring可选默认为 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.

响应

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 objects可选

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

error_messagestring可选
Error message if the operation was not successful.

错误

422
Tools List Request Unprocessable Entity Error