midnight-fetch-docs
Retrieves current documentation pages in real-time from midnight.network. Use to get full page content or extract specific sections when you know the page path.
Instructions
🌐 LIVE FETCH: Retrieve latest documentation directly from docs.midnight.network (SSG-enabled).
Unlike midnight-search-docs which uses pre-indexed content, this tool fetches LIVE documentation pages in real-time. Use when you need: • The absolute latest content (just updated docs) • A specific page you know the path to • Full page content rather than search snippets
COMMON PATHS: • /develop/faq - Frequently asked questions • /getting-started/installation - Installation guide • /getting-started/create-mn-app - Create an MN app • /compact - Compact language reference • /develop/tutorial/building - Build guide • /develop/reference/midnight-api - API documentation • /learn/what-is-midnight - What is Midnight • /blog - Dev diaries
USAGE GUIDANCE: • Use extractSection to get only a specific heading (e.g., "Developer questions") • Prefer midnight-search-docs for discovery, use this for known pages • Content is truncated at 15KB for token efficiency
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Documentation page path (e.g., '/develop/faq', '/getting-started/installation') | |
| extractSection | No | Optional: Extract only a specific section by heading text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Page title | |
| path | Yes | Normalized path | |
| url | No | Full URL | |
| content | Yes | Extracted page content | |
| headings | No | Page headings/table of contents | |
| lastUpdated | No | Last update timestamp | |
| truncated | No | Whether content was truncated |