{"version":"0.43.0","id":"kanvas.navigation.control","operationId":"kanvas.navigation.control","title":"navigation control","requiredInputs":["sessionId","displayId","navigation"],"description":"Explicit user scroll/page/navigation requests must be executed, regardless of pageCount or inferred visibility. When a human asks to zoom or enlarge the current view, use this operation rather than session reading settings. Zoom/density on every template with navigation:{action:\"zoom\",scale:0.75} or direction:\"in\"/\"out\"/\"reset\" (0.25–3; reflows content, does not change source). Page, scroll, search, highlight, focus, gotoLine for code/diff (optional panelId and side before/after), selectDay for itinerary maps (day 1..N or all), or fit a diagram within the existing view without rewriting source data or history. Read kanvas_call with operationId:\"kanvas.navigation.read\" and arguments:{…} for capabilities, then supply revision and a new requestId. Zoom belongs to one device window across content and sessions, never the content/display. Supply viewerId from kanvas_call with operationId:\"kanvas.viewers.read\" and arguments:{…}; omission resolves only when exactly one viewer is active, otherwise VIEWER_REQUIRED. Newly joined windows start at responsive default 100%, ignoring legacy shared zoom. Other navigation cues the display, or one active independent viewerId. Use kanvas_call with operationId:\"kanvas.window.viewport\" and arguments:{…} for an owned root overview window. Waits up to the configurable 2-second default for genuine acknowledgements from each originally targeted viewer and returns delivery outcomes applied/failed/offline/unconfirmed/superseded (pending while waiting). Applied confirms that viewer handled the command; an accepted command alone is not proof. Read kanvas.navigation.read only for a later check when unconfirmed; navigation receipts are not kanvas.update.status publication receipts. A content hold does not block within-view navigation. Concurrency: expectedRevision 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":"Within-view navigation, separate from source revision/history. Pages are one-based.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"displayId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"requestId":{"description":"Stable ID deduplicates retries; omission creates a fresh ID per call.","type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"viewerId":{"description":"Receiving device-window from kanvas_call with operationId:\"kanvas.viewers.read\" and arguments:{…}. Required for zoom unless exactly one viewer is active; zoom is always per window even in shared/presenter mode.","type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"navigation":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"reading"},"command":{"default":"configure","type":"string","enum":["start","pause","resume","slower","faster","configure"]},"fontSize":{"type":"integer","minimum":16,"maximum":40},"wpm":{"type":"integer","minimum":120,"maximum":320},"zoom":{"type":"number","minimum":0.75,"maximum":1.75},"position":{"type":"number","minimum":0,"maximum":1},"saveDefaults":{"default":false,"type":"boolean"}},"required":["action"],"additionalProperties":false},{"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":"page"},"direction":{"type":"string","enum":["next","previous"]},"page":{"type":"integer","minimum":1,"maximum":100000}},"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},{"type":"object","properties":{"action":{"type":"string","const":"search"},"query":{"type":"string","maxLength":500}},"required":["action","query"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"match"},"direction":{"type":"string","enum":["next","previous"]}},"required":["action","direction"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"highlight"},"text":{"type":"string","maxLength":500}},"required":["action","text"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"focus"},"text":{"type":"string","minLength":1,"maxLength":500},"region":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"width":{"type":"number","exclusiveMinimum":0,"maximum":1},"height":{"type":"number","exclusiveMinimum":0,"maximum":1}},"required":["x","y","width","height"],"additionalProperties":false},"zoom":{"default":1,"type":"number","minimum":1,"maximum":4}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"gotoLine"},"line":{"type":"integer","minimum":1,"maximum":1000000},"panelId":{"type":"string","minLength":1,"maxLength":128},"side":{"type":"string","enum":["before","after"]}},"required":["action","line"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"selectDay"},"day":{"anyOf":[{"type":"string","const":"all"},{"type":"integer","minimum":1,"maximum":31}]}},"required":["action","day"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"fit"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"reset"}},"required":["action"],"additionalProperties":false}]}},"required":["sessionId","displayId","navigation"],"additionalProperties":false,"examples":[{"sessionId":"session-id","displayId":"display-id","expectedRevision":3,"requestId":"page-1","navigation":{"action":"page","direction":"next"}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.navigation.control","arguments":{"sessionId":"session-id","displayId":"display-id","expectedRevision":3,"requestId":"page-1","navigation":{"action":"page","direction":"next"}}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}