{"version":"0.43.0","id":"kanvas.guidance.library.save","operationId":"kanvas.guidance.library.save","title":"guidance library save","requiredInputs":["promptId","name","text"],"description":"Create (expectedRevision 0) or edit a named personal guidance prompt. Save only user-authorized text. This does not activate it. 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":"Save a personal prompt without activating it.","inputSchema":{"type":"object","properties":{"promptId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"name":{"type":"string","minLength":1,"maxLength":100},"text":{"type":"string","minLength":1,"maxLength":5000},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"requestId":{"description":"Stable ID deduplicates retries; omission creates a fresh ID per call.","type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"}},"required":["promptId","name","text"],"additionalProperties":false,"examples":[{"promptId":"passive","name":"Passive","text":"Publish only when I ask.","expectedRevision":0,"requestId":"prompt-save"}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.guidance.library.save","arguments":{"promptId":"passive","name":"Passive","text":"Publish only when I ask.","expectedRevision":0,"requestId":"prompt-save"}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}