Read a Slaide document
get_documentUse this when you need to see what is in one of the user's own Slaide documents: its title, format, page-by-page content, speaker notes, Excel workbook sheets, current version and supported export formats. Call this before update_document so you know what is actually on the pages — and keep the returned version, you pass it back as expected_version to make sure you do not overwrite someone else's change. Use detail:'outline' when you only need the structure (cheapest), 'content' for the text (default), 'full' only when you genuinely need the raw page HTML. Pages are numbered from 1, exactly as the user sees them in Slaide ("page 4" is page 4). For a long document pass pages to read only the pages you need; if a response lists truncated.omitted_pages, fetch those in a second call. For Excel, use workbook_name, sheet_name and row_start to read another portion of a sheet. Requires a document_id from search_documents.
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": {
"document_id": "<document_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Page numbers to read, counted as the user sees them in Slaide. Omit to read the whole document. | |
| detail | No | How much of each page to return: `outline` gives only the first heading, `content` the readable text, `full` the raw page HTML. Omit for `content`. | |
| row_limit | No | How many rows to return per sheet. Omit for 20, or 100 with detail `full`. Detail `outline` returns no rows. | |
| row_start | No | Sheet row at which reading begins, to page through a long sheet. Omit to start at the first row. | |
| sheet_name | No | Read only the sheet with this name, as listed under `workbooks[].sheets[].name`. Omit for all sheets. | |
| document_id | Yes | Opaque id of the document, taken from search_documents or from a job result. Never a title. | |
| workbook_name | No | Read only this workbook. Use a `name` from `workbooks` of an earlier get_document response. Omit for all workbooks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | The requested pages, in document order. | |
| title | Yes | Title as shown in the user's Slaide library. | |
| format | Yes | Page format of the document, for example `a4-portrait` for a text document or a slide format for a presentation. `excel-model` marks a document that holds only workbooks. | |
| app_url | Yes | Link that opens the document in the Slaide web app. Share it with the user. | |
| version | Yes | Current revision of the document. Pass it as `expected_version` to update_document. | |
| truncated | No | Present only when not every requested page fit into one response. | |
| workbooks | Yes | Excel workbooks stored in the document. Empty when it has none. | |
| is_running | Yes | True while a Slaide run is still working on this document; its content may still change. | |
| page_count | Yes | Number of pages or slides in the whole document, not only the ones returned here. | |
| updated_at | Yes | Time of the last change to the document. | |
| document_id | Yes | Opaque id of the document. Pass it to get_document, update_document or export_document. | |
| available_exports | Yes | File types this document can be exported to with export_document. |