Get tool

Get tool that is available in the workspace.

Parâmetros de caminho

tool_idstringObrigatório
ID of the requested tool.

Cabeçalhos

xi-api-keystringOpcional

Parâmetros de consulta

environmentstringOpcionalPadrão é 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.

Resposta

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.

Erros

422
Tools Get Request Unprocessable Entity Error