export_reading
Export a kept reading as something that outlives this connector. format "html" returns ONE self-contained file — styles inlined, no network, opens in any browser years from now with nothing installed. "url" rebuilds a link against any renderer (yours by preference). "surface" returns the payload for repainting in place. "json" returns the decoded payload. Needs a reading saved WITH its payload; older link-only rows cannot be re-rendered and will say so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_reading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Reading id from list_readings. OMIT for the most recent one. | |
| format | No | Default html. "surface" returns the payload itself, for repainting in place. | |
| renderer_url | No | For format "url": your own renderer /exec. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Rebuilt renderer URL (format url). | |
| html | No | Self-contained HTML (format html). | |
| note | No | Guidance for the caller. | |
| bytes | No | Size of the HTML. | |
| title | No | Reading title. | |
| format | No | "html", "url", "json" or "surface". | |
| reason | No | Why it is unavailable. | |
| payload | No | The stored payload (format json). | |
| exported | No | True when an export was produced. | |
| available | Yes | False when there is no signed-in reader or the store failed. | |
| fonts_delocalised | No | Remote font faces removed. |