{"version":"0.43.0","id":"kanvas.window.viewport","operationId":"kanvas.window.viewport","title":"window viewport","requiredInputs":["deviceId","windowId","navigation"],"description":"Zoom or scroll one owned online window on the root sessions overview. Supply deviceId/windowId from kanvas_call with operationId:\"kanvas.devices.read\" and arguments:{…} and await command status applied. Zoom is per window (0.25–3); scroll uses normalized position or delta. For session content use kanvas_call with operationId:\"kanvas.navigation.control\" and arguments:{…} with viewerId. Does not navigate or edit content. Concurrency: expectedVersion is OPTIONAL stale-write guard. Supplying a stale guard rejects the call; omitting optional guards does not waive authorization or other preconditions. After a conflict, inspect the operation-specific error and read current authorized state before retrying; current-value fields vary by operation.","guidance":"Zoom/scroll one owned online root overview window; session content uses kanvas_call with operationId:\"kanvas.navigation.control\" and arguments:{…} viewerId.","inputSchema":{"type":"object","properties":{"deviceId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"windowId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"expectedVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"requestId":{"description":"Stable ID deduplicates retries; omission creates a fresh ID per call.","type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"navigation":{"anyOf":[{"type":"object","properties":{"action":{"type":"string","const":"zoom"},"scale":{"type":"number","minimum":0.25,"maximum":3},"direction":{"type":"string","enum":["in","out","reset"]}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"scroll"},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"deltaX":{"type":"number","minimum":-1,"maximum":1},"deltaY":{"type":"number","minimum":-1,"maximum":1}},"required":["action"],"additionalProperties":false}]}},"required":["deviceId","windowId","navigation"],"additionalProperties":false,"examples":[{"deviceId":"device-id","windowId":"window-id","requestId":"zoom-overview-1","navigation":{"action":"zoom","scale":1.5}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.window.viewport","arguments":{"deviceId":"device-id","windowId":"window-id","requestId":"zoom-overview-1","navigation":{"action":"zoom","scale":1.5}}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}