Get tool

Get tool that is available in the workspace.

Path parameters

tool_idstringRequired
ID of the requested tool.

Headers

xi-api-keystringOptional

Query parameters

environmentstringOptionalDefaults to 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.

Response

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.

Errors

422
Tools Get Request Unprocessable Entity Error