Get Tools
Changed onReturn MCP tools — from cache if fresh, otherwise by fetching from remote.
On cache miss, tries manifest fetch first (fast), then falls back to full MCP handshake. Caches the result before returning.
Pass force_refresh=true to bypass the cache and always fetch from the remote server (the result is still cached via upsert for future requests).
agent_id lets deployment/service-key callers name an agent OAuth subject. ls_user_id overrides are limited to service identities.
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://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
Response
Successful Response
Changes
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
the
/response's property type changed fromobjecttostringfor 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 - info
added the new optional
queryrequest parameteragent_id
- breaking