{"version":"0.43.0","id":"kanvas.monitoring.update","operationId":"kanvas.monitoring.update","title":"monitoring update","requiredInputs":["sessionId","jobId","config"],"description":"Replace the complete configuration of an active monitor with current expectedVersion and a stable requestId. Retains ownership and uses the same public-source, mapping and resource bounds as start. Does not override a newer view or revive a stopped job; explicitly start a new job for that. 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":"Replace an active job’s COMPLETE config using its expectedVersion, not a display revision or partial merge.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128},"jobId":{"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},"expectedVersion":{"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","jobId","config"],"additionalProperties":false,"examples":[{"sessionId":"session-id","jobId":"job-id","requestId":"monitor-change-1","expectedVersion":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.update","arguments":{"sessionId":"session-id","jobId":"job-id","requestId":"monitor-change-1","expectedVersion":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."}