{"version":"0.43.0","id":"kanvas.session.context.set","operationId":"kanvas.session.context.set","title":"session context set","requiredInputs":["sessionId"],"description":"Session-owner setting for optional organization/team context and branding. Precedence: installation, organization, team, explicit personal settings, explicit session overrides. Use null to unlink; explicit empty overrides restore inheritance. Does NOT grant any access. 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":"Owner links optional organization/team branding; this never grants session access.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"organizationId":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},{"type":"null"}]},"teamId":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},{"type":"null"}]},"overrides":{"default":{},"type":"object","properties":{"timeZone":{"type":"string","maxLength":100},"numberLocale":{"type":"string","maxLength":80},"unitSystem":{"type":"string","enum":["source","metric","imperial"]},"timeFormat":{"type":"string","enum":["locale","12h","24h"]},"dateFormat":{"type":"string","enum":["source","dmy","mdy","iso"]},"textSize":{"description":"Text size for every view of the session, percent of standard (100). Lists, tables, logs, documents and pickers scale and lay out again; views composed to fill the screen scale their fixed-size text and keep filling the screen. Persisted; unlike kanvas.navigation.control zoom, which is saved only for this browser window across content and sessions; a new window starts at 100%, without altering session/account defaults.","type":"integer","minimum":50,"maximum":250},"readingFontSize":{"description":"Default document text size; documents using the reading layout and Markdown views. For every template use textSize (session-wide, saved) or kanvas.navigation.control zoom (saved only for this browser window across content and sessions; a new window starts at 100%, without altering session/account defaults).","type":"integer","minimum":16,"maximum":40},"readingWpm":{"description":"Default document playback speed; documents using the reading layout and Markdown views. For every template use textSize (session-wide, saved) or kanvas.navigation.control zoom (saved only for this browser window across content and sessions; a new window starts at 100%, without altering session/account defaults).","type":"integer","minimum":120,"maximum":320},"readingZoom":{"description":"Default document reading zoom; documents using the reading layout and Markdown views. For every template use textSize (session-wide, saved) or kanvas.navigation.control zoom (saved only for this browser window across content and sessions; a new window starts at 100%, without altering session/account defaults).","type":"number","minimum":0.75,"maximum":1.75},"syncMode":{"type":"string","enum":["independent","presenter","shared"]},"presenterViewerId":{"type":"string","maxLength":128,"pattern":"^[a-zA-Z0-9_-]*$"},"theme":{"type":"string","enum":["dark","light","system"]},"style":{"type":"string","enum":["neutral","lime","ocean","iris","ember","rose","sage","sand"]},"accent":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"additionalProperties":false},"showBranding":{"default":true,"type":"boolean"}},"required":["sessionId"],"additionalProperties":false,"examples":[{"sessionId":"session-id","expectedRevision":0,"teamId":"team-id","overrides":{}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.session.context.set","arguments":{"sessionId":"session-id","expectedRevision":0,"teamId":"team-id","overrides":{}}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}