{"version":"0.43.0","id":"kanvas.tool.log.append","operationId":"kanvas.tool.log.append","title":"tool log append","requiredInputs":["sessionId","events"],"description":"Persist supplied tool-call events in the selected session/channel. KANVAS MCP calls are logged automatically. Append is optional for external integrations. Each event has a unique id, timestamp, integration and tool. Same IDs/content safely deduplicate. Never include credentials or sensitive raw arguments. Publish tool-call-log to show newest first with adjacent repeats folded.","guidance":"Agent-reported tool calls; append exact events to persistent history.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:-]+$"},"channel":{"default":"main","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_.:-]+$"},"events":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:-]+$"},"integration":{"type":"string","minLength":1,"maxLength":200},"tool":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","minLength":1,"maxLength":200},"source":{"type":"string","enum":["automatic","agent"]},"sessionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_.:-]+$"},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991},"timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"default":"completed","type":"string","enum":["started","completed","failed"]},"summary":{"type":"string","maxLength":1000}},"required":["id","integration","tool","timestamp"],"additionalProperties":false}}},"required":["sessionId","events"],"additionalProperties":false,"examples":[{"sessionId":"session-id","requestId":"calls-1","channel":"main","events":[{"id":"call-1","integration":"Browser","tool":"search","timestamp":"2026-09-21T19:00:00Z","status":"completed"}]}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.tool.log.append","arguments":{"sessionId":"session-id","requestId":"calls-1","channel":"main","events":[{"id":"call-1","integration":"Browser","tool":"search","timestamp":"2026-09-21T19:00:00Z","status":"completed"}]}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}