Get tool

Get tool that is available in the workspace.

路径参数

tool_idstring必需
ID of the requested tool.

请求头

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
idstring
tool_configobject
The type of tool
access_infoobject
usage_statsobject
response_mockslist of objects可选

Mock responses with optional parameter conditions. Evaluated top-to-bottom; first match wins.

错误

422
Tools Get Request Unprocessable Entity Error