read_doc
Retrieve SDK docs by exact path, or list all available paths when no path is provided. Get method signatures and JSDoc examples directly from the source of truth.
Instructions
Fetch a specific SDK docs chunk by exact path, or list all available paths when called with no args.
Use this instead of search_docs when you already know the chunk ID — it's cheaper and more deterministic. Common patterns: • read_doc({}) → list every chunk ID with one-line summaries (use this once at the start of a session to map the SDK surface) • read_doc({ path: "klaviyo.reporting.campaignValues" }) → fetch one method's full doc (signature + JSDoc + example) verbatim • read_doc({ platform: "shopify" }) → list only Shopify chunk IDs
This adopts the "filesystem-as-API" pattern from Anthropic's Code Execution with MCP research: LLMs are faster and more accurate when they can read a typed-source-of-truth doc page directly, rather than re-searching for it on every code generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Exact chunk ID to fetch (e.g. 'klaviyo.reporting.campaignValues', 'guide.output-discipline'). Omit to list all available paths. | |
| platform | No | When listing (no `path`), filter to one platform's docs only. |