Skip to Content
CallMitraDocs
Errors

tool_not_found

Tool not found.

HTTP statusTypeCode
404not_found_errortool_not_found

What it means

No tool with this id exists in your workspace. List your tools with GET /tools.

How to handle it

Check the ID in the path. It may be wrong, deleted, or belong to another workspace; the API answers 404 rather than revealing other workspaces’ data.

Example response

{
  "detail": "Tool not found.",
  "error": {
    "type": "not_found_error",
    "code": "tool_not_found",
    "message": "Tool not found.",
    "param": null,
    "docUrl": "https://docs.callmitra.ai/errors/tool_not_found",
    "requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
  }
}

Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.

Returned by

  • GET /api/v1/tools/{tool_id} — Get a tool

On this page