Get tool

Get tool that is available in the workspace.

Paramètres de chemin

tool_idstringRequis
ID of the requested tool.

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

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

Erreurs

422
Tools Get Request Unprocessable Entity Error