Get tool

Get tool that is available in the workspace.

Parámetros de ruta

tool_idstringRequerido
ID of the requested tool.

Encabezados

xi-api-keystringOpcional

Parámetros de consulta

environmentstringOpcionalValor predeterminado: 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.

Respuesta

Successful Response
idstring
tool_configobject
The type of tool
access_infoobject
usage_statsobject
response_mockslist of objectsOpcional

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

Errores

422
Tools Get Request Unprocessable Entity Error