fetch_godot_doc
Fetch a Godot manual or tutorial page as Markdown, or a single section. Provide a search-hit URI; omit the #anchor to read the whole page. Serves prose docs only.
Instructions
Return one manual or tutorial page as Markdown, or a single section of it. Pass the uri from a search hit exactly as it was given: the #... on the end names the section that matched, and that section is what comes back -- section_title says which. Drop the #... to read the whole page. Pages are cut to fit the response budget: when truncated is set, section_titles lists the titles section accepts, so the rest can be read a section at a time. For a class-reference entry call get_godot_class instead -- this tool serves the prose documentation only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | A `godot://doc/...` URI, as returned by search_godot_docs. | |
| section | No | One title from the page's `section_titles`, or a section anchor. Overrides any `#...` on the uri. Omit to get whatever the uri asks for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Canonical `godot://doc/...` URI of the page. | |
| hint | No | What to call next to see what was omitted, or to narrow the request. Empty when nothing was left out. | |
| kind | Yes | Which part of the documentation this belongs to. | |
| title | Yes | Page title. | |
| markdown | Yes | The page or section content, as Markdown. | |
| truncated | No | Whether content was omitted to stay within the budget. | |
| breadcrumb | No | Trail of ancestor sections. | |
| section_title | No | The single section returned, when one was asked for; empty for a whole page. | |
| section_titles | No | Every section on the page, in order. These are the values `section` accepts, so a truncated page can be re-read one section at a time. |