read_wiki_module
Fetch a specific structured module from a wiki page by its anchor, avoiding full page load. Get targeted data such as key facts or decision banners.
Instructions
Fetch ONE structured module from a wiki page without downloading the whole page. Call it when you already know the page slug and the module anchor you want, and reading the full page via read_wiki_page would waste tokens.
When to use: you need just one module's structured data (e.g. the key_facts items, or a decision_banner's rationale + alternatives). When NOT to use: you need a narrative prose section (use read_wiki_section) or the whole page (use read_wiki_page). To learn a page's module anchors, read it once with read_wiki_page first.
Prerequisites: a channel_id (list_channels), a page_slug (list_wiki_pages), and an anchor (from the page's modules).
Returns (instant, read-only): {channel_id, page_slug, anchor, module_id, data} where data is the module's structured payload.
No side effects.
Error modes (returned as dicts): 'authentication_missing' (no principal); 'channel_access_denied' (token lacks access to channel_id); 'wiki_page_not_found' (no such slug); 'module_not_found' (page exists but has no module with that anchor); 'wiki_module_read_failed' (internal error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel id. Get it from list_channels (e.g. 'ch-eng'). Required. | |
| page_slug | Yes | Slug of the page hosting the module (e.g. 'auth-architecture'). Discover slugs via list_wiki_pages. Required. | |
| anchor | Yes | Module anchor — the stable in-page id of one structured module (e.g. 'key-facts', 'decision-banner', 'tension-callout'). Discover the available anchors by reading the page once with read_wiki_page. Required. | |
| target_lang | No | BCP-47 language tag (e.g. 'en', 'fr'). Default 'en'. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||