List spec sections
section_listEnumerate WebAssembly spec clauses for navigation across core, js-api, and web-api specs. Filter by path, anchor prefix, depth, and titled-only.
Instructions
Enumerate spec clauses for navigation, across core / js-api / web-api (set spec). Filter by source path (core: intro, syntax, valid, exec, binary, text, appendix, or sub-paths like syntax/types), anchor_prefix, titled_only, and max_level. Returns lightweight rows {id, anchors, title, level, path, url}; follow up with section_get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter to a source path / prefix. Top-level areas: `intro`, `syntax` (structure), `valid` (validation), `exec` (execution), `binary`, `text`, `appendix`. Sub-paths like `syntax/types` also work. | |
| spec | No | Which WebAssembly spec to query: `core` (default; instructions, types, validation, execution, formats), `js-api` (JavaScript embedding), or `web-api` (Web platform integration). | core |
| version | No | WebAssembly spec version to query. `latest` (default) is the current served version; `main` is the upstream working draft. | latest |
| max_level | No | Cap heading depth (1 = page titles only). Anchor-only blocks are unaffected. | |
| titled_only | No | Drop anchor-only content blocks (keep only clauses with a heading). | |
| anchor_prefix | No | Filter to clauses whose id/anchor starts with this prefix, e.g. `syntax-`, `valid-`, `exec-`. |