Get ONES Document Section
get_doc_sectionRetrieve a specific outline section from a ONES document, with options to include its resources and descendant sections.
Instructions
Return one outline section from a ONES doc ref, optionally including descendants.
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": {
"ref": "<ref>",
"section_id": "<section_id>"
},
"name": "get_doc_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| section_id | Yes | ||
| include_resources | No | ||
| include_descendants | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| section | Yes | ||
| markdown | Yes | ||
| truncated | Yes |