get_doc
Retrieve a full documentation page by its slug, with an option to extract only code blocks.
Instructions
Retrieve a full documentation page by its slug.
Args: slug: Document slug (e.g., "library/layout/box", "components/rendering_iterables") extract_code: If True, return only fenced code blocks from the page
Returns: Full document with title, URL, and all sections with markdown content
Example: get_doc("library/layout/box") get_doc("state/overview", extract_code=True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| extract_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |