get_sections
Retrieve multiple documentation sections in one batch call by passing section IDs. Unknown IDs return per-ID errors instead of failing the whole request.
Instructions
Batch content retrieval for multiple sections in one call. Content only for the ids you pass; unknown ids come back as per-id errors, not a failed call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"section_ids": "<section_ids>"
},
"name": "get_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| verify | No | Verify content hashes | |
| section_ids | Yes | List of section IDs to retrieve. v1.147+ — an entry may be a `doc.md#anchor` reference; an ambiguous one sets `anchor_ambiguous`, `anchor_scope`, `anchor_match_count`, `anchor_candidates` (at most 20), `anchor_candidates_truncated` and `warning` on its entry and at top level. | |
| compress_code | No | v1.35+ — drop blank lines and full-line comments inside fenced code blocks before returning. _meta.code_compressed_bytes reports total bytes saved. | |
| strip_boilerplate | No | v1.24+ — strip repeated cross-section fragments per section before returning. |