Check a Slaide job
get_jobUse this to check how a create_document, update_document or export_document job is going, or when the user asks whether it is done — not to wait for a job whose live progress card the user can already see. Wait poll_after_ms between calls — building a deck takes minutes and polling faster tells you nothing new. Status is one of queued, running, completed, partial, failed, cancelled. When it is completed, the result carries the title, the page count and (for an export) a private download link that expires after 15 minutes. If the result has a note, pass it on to the user in your own words. 'partial' means Slaide produced something but not everything — the document is usable and the user can finish it in Slaide.
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": {
"job_id": "<job_id>"
},
"name": "get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The `job_id` returned by create_document, update_document or export_document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What the job does: create, update or export. | |
| error | No | Present when the job failed. | |
| stage | No | Short machine-readable name of the current step. | |
| job_id | Yes | The job this status belongs to. | |
| result | No | Present once the job has produced a result. | |
| status | Yes | queued, running, completed, partial, failed or cancelled. `partial` means some but not all of the work was produced. | |
| app_url | Yes | Link that opens the document in the Slaide web app. Share it with the user. | |
| progress | No | The current step as an English sentence you can relay to the user. | |
| document_id | Yes | The document the job works on. Opaque id of the document. Pass it to get_document, update_document or export_document. | |
| poll_after_ms | No | Present while the job is queued or running: milliseconds to wait before the next get_job call. |