Return 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).
The ls_user_id query parameter allows service-key callers (which don’t carry ls_user_id in auth) to specify the user for per-user OAuth cache lookups.
Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.