sketch_agent_poll
Continue a sketch_agent_start task: returns every stroke newer than the given cursor (an event log, not a snapshot — nothing is skipped regardless of poll timing) plus the next cursor, reveals the result in-chat the same way render_surface does, and reports whether the drawing is complete. Call again with the returned cursor until done is true.
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": {
"taskId": "<taskId>",
"cursor": "<cursor>"
},
"name": "sketch_agent_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | Yes | The cursor returned by the previous start/poll call. 0 to start from the beginning. | |
| taskId | Yes | The taskId returned by sketch_agent_start. |