{"version":"0.43.0","id":"kanvas.video.control","operationId":"kanvas.video.control","title":"video control","requiredInputs":["sessionId","displayId","command"],"description":"Control the already-loaded video without replacing its view: play/pause, seek (time in seconds, 0–86400), skip (signed value in seconds), restart, mute/unmute, volume (value 0–1), rate (value 0.25–4), fullscreen (optional desired fullscreen boolean). may use an explicit revision guard and stable requestId. Returns a command receipt; check kanvas_call with operationId:\"kanvas.video.status\" and arguments:{…}. Receiving-browser play/fullscreen restrictions may require a local click. Commands expire after 30 seconds. 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":"Send a command to the already loaded video; action belongs inside command. Inspect the separate acknowledgement.","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},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"command":{"type":"object","properties":{"action":{"type":"string","enum":["play","pause","seek","restart","mute","unmute","volume","rate","skip","fullscreen"]},"time":{"type":"number","minimum":0,"maximum":86400},"value":{"type":"number","minimum":-86400,"maximum":86400},"fullscreen":{"type":"boolean"}},"required":["action"],"additionalProperties":false,"allOf":[{"if":{"properties":{"action":{"const":"seek"}},"required":["action"]},"then":{"required":["time"]}},{"if":{"properties":{"action":{"enum":["volume","rate","skip"]}},"required":["action"]},"then":{"required":["value"]}},{"if":{"properties":{"action":{"const":"volume"}},"required":["action"]},"then":{"properties":{"value":{"minimum":0,"maximum":1}}}},{"if":{"properties":{"action":{"const":"rate"}},"required":["action"]},"then":{"properties":{"value":{"minimum":0.25,"maximum":4}}}}]}},"required":["sessionId","displayId","command"],"additionalProperties":false,"examples":[{"sessionId":"session-id","displayId":"display-id","expectedRevision":3,"requestId":"video-pause-1","command":{"action":"pause"}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.video.control","arguments":{"sessionId":"session-id","displayId":"display-id","expectedRevision":3,"requestId":"video-pause-1","command":{"action":"pause"}}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}