Get ONES Document Outline
get_doc_outlineFetch the section outline and size metadata for a ONES doc ref to preview its structure and scope before reading the full content.
Instructions
Return section outline and size metadata for a ONES doc ref.
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>"
},
"name": "get_doc_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| sections | Yes | ||
| section_count | Yes | ||
| estimated_chars | Yes |