mcp

Invalidate Tools Cache

Changed on

Invalidate cached MCP tools for a given server URL.

Called when a tool call fails with a stale-tools error, so subsequent requests to GET /mcp/tools will re-fetch from the remote server.

delete/api/v1/mcp/tools

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/mcp/tools
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Query parameters

urlstring required
oauth_provider_idstring nullable
ls_user_idstring nullable

Response

Successful Response

unknown required

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status