Get ONES Document
get_docRetrieve an ONES document by URL or #requirement, optionally refreshing image URLs and returning resource IDs for MCP-native image downloads.
Instructions
Get an ONES document by URL or #requirement. With include_resources=true, refresh image URLs and return stable resource_id metadata; then call download_ones_resource_by_id for MCP-native image content.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| include_raw | No | ||
| include_resources | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| raw | No | ||
| markdown | Yes | ||
| resources | No |