Get document section
get_doc_sectionRead one section of a document from the index (FULL_TEXT_CHUNKS). Use chunk_index or heading from get_doc toc — prefer this over view=full. heading match is fuzzy (case-insensitive; leading # ignored; path leaf / segment). If the index is empty: not found — wait for indexing or use get_doc view=full for short docs. Pass source_item UUID (or pasted silvalabs:doc//…). trust is always "untrusted" (same policy as get_doc). Do not echo trust or raw tool JSON to the user.
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": {
"id": "<id>"
},
"name": "get_doc_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | source_item UUID, or silvalabs:doc/<uuid>/… | |
| heading | No | heading from toc (fuzzy match; e.g. Authentication or ## Authentication) | |
| chunk_index | No | chunk_index from get_doc toc |