get-session
Check the status of a document session using its token to see if it is draft, in progress, or generated, and track completion.
Instructions
Check the current status and details of a session by its token. Status is one of: 'draft' (not started), 'in_progress' (form open), or 'generated' (PDF ready). Poll this tool to check for completion.
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": {
"token": "<token>"
},
"name": "get-session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The session token returned by create-session. |