Refresh the in-chat view
viewer_pollUsed only by the in-chat viewer (MCP App) to refresh the picture and live cursors; clients that support app-only tools hide it from the model. It returns only the diagram sequence number and whether it changed.
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": {
"diagramId": "<diagramId>",
"sinceSeq": "<sinceSeq>"
},
"name": "viewer_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epoch | No | Document epoch the viewer shows (from the previous result). | |
| theme | No | light | |
| sinceSeq | Yes | Last sequence number the viewer shows (-1: none yet). | |
| diagramId | Yes | Diagram id (from list_diagrams or create_diagram). |