{"version":"0.43.0","id":"kanvas.monitoring.start","operationId":"kanvas.monitoring.start","title":"monitoring start","requiredInputs":["sessionId","displayId","config"],"description":"Explicitly start bounded server-side refresh of a public HTTPS source into one display, deterministically. Editor access is required; expectedRevision is an optional stale-write guard. Example config:{mode:\"uptime\",url:\"https://example.com/healthz\",intervalSeconds:60,durationSeconds:3600}. JSON mode maps exact response data with {$path:\"/field\"}, {$each:\"/items\",map:{...}}, literal JSON; image mode accepts validated raster snapshots. Minimum interval 30s, maximum duration 7 days. No scripts, credentials, custom headers, private/local endpoints or silent background setup. Returns durable job ID/health; a newer display publication supersedes the job. Browser application and source health are separate. 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":"Start only explicitly requested public-source polling. This example is NOT authorization to contact a source or replace the display.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128},"displayId":{"type":"string","minLength":1,"maxLength":128},"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},"config":{"oneOf":[{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"pattern":"^[Hh][Tt][Tt][Pp][Ss]:","x-kanvas-validation":"public-https","description":"Public HTTPS on port 443 only: no credentials, authentication query parameters, or fragment. The server additionally checks parsed URL, DNS/IP, redirects and network limits before every connection."},"intervalSeconds":{"default":60,"type":"integer","minimum":30,"maximum":3600},"durationSeconds":{"default":86400,"type":"integer","minimum":60,"maximum":604800},"title":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","const":"uptime"},"template":{"default":"fact","type":"string","enum":["fact","number"]},"metric":{"default":"status","type":"string","enum":["status","latency","http-status"]},"degradedAfterMs":{"default":1500,"type":"integer","minimum":100,"maximum":60000}},"required":["url","mode"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"pattern":"^[Hh][Tt][Tt][Pp][Ss]:","x-kanvas-validation":"public-https","description":"Public HTTPS on port 443 only: no credentials, authentication query parameters, or fragment. The server additionally checks parsed URL, DNS/IP, redirects and network limits before every connection."},"intervalSeconds":{"default":60,"type":"integer","minimum":30,"maximum":3600},"durationSeconds":{"default":86400,"type":"integer","minimum":60,"maximum":604800},"title":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","const":"json"},"template":{"type":"string","enum":["monitor-stream","message-board","task-list","colour","icon-picker","font-picker","tool-call-details","agents","welcome","split-screen","database-schema","qr","traffic-demo","satisfaction","game-board","signage","scene3d","molecule","venn","math","instrument","live-captions","keyboard-shortcuts","catalog-list","sing-along","seat-map","vocabulary","todays-special","menu-board","opening-hours","back-at","closed-sign","hiring","sale-poster","health-notice","custom-sign","kanban","flashcards","email","inbox","chat","cards","record-detail","bookmarks","tool-inventory","tool-detail","developer","devops","code-workspace","device-preview","architecture","sports-lineup","org-chart","flowchart","network","scoreboard","standings","tool-call-log","json","session-topology","devices","fact","number","chart","table","image-gallery","image","website","iframe","story-cards","list","progress","log","comparison","checklist","map","code","whiteboard","presentation","document","markdown","video","notifications","transcription","translation","form","schedule","roster","calendar","planner","poll","countdown","qa","overview","display-grid","settings","html","timeline","itinerary","product","weather","profile","kpi","quote","recipe","menu","leaderboard","status","procedure","join","drafting","clock","now-playing"]},"mapping":{"x-kanvas-validation":"monitor-mapping","description":"Bounded declarative JSON using literal values, {$path:\"/field\",root?:true}, {$each:\"/items\",map:{...},root?:true}, or {$literal:value}. Server enforces depth 16, 4000 nodes, 64 KiB estimated size, safe scalar precision and reserved-key/pointer rules. This is data, never executable code."}},"required":["url","mode","template","mapping"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"pattern":"^[Hh][Tt][Tt][Pp][Ss]:","x-kanvas-validation":"public-https","description":"Public HTTPS on port 443 only: no credentials, authentication query parameters, or fragment. The server additionally checks parsed URL, DNS/IP, redirects and network limits before every connection."},"intervalSeconds":{"default":60,"type":"integer","minimum":30,"maximum":3600},"durationSeconds":{"default":86400,"type":"integer","minimum":60,"maximum":604800},"title":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","const":"image"},"alt":{"default":"Live snapshot","type":"string","maxLength":500},"caption":{"type":"string","maxLength":500}},"required":["url","mode"],"additionalProperties":false}]}},"required":["sessionId","displayId","config"],"additionalProperties":false,"examples":[{"sessionId":"session-id","displayId":"display-id","expectedRevision":3,"requestId":"monitor-1","config":{"mode":"uptime","url":"https://example.com/status","intervalSeconds":60,"durationSeconds":3600}}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.monitoring.start","arguments":{"sessionId":"session-id","displayId":"display-id","expectedRevision":3,"requestId":"monitor-1","config":{"mode":"uptime","url":"https://example.com/status","intervalSeconds":60,"durationSeconds":3600}}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}