{"version":"0.43.0","id":"kanvas.asset.import","operationId":"kanvas.asset.import","title":"asset import","requiredInputs":["sessionId","name","mimeType","base64"],"description":"Ingest bounded media bytes as base64 with name and MIME type. The domain checks actual media and size; a filesystem path/URL is not a file transfer. Returned asset URLs remain browser-authenticated. Never pass publisher credentials in content or URLs.","guidance":"Transfer actual base64 media bytes, not a filename or URL. This inert example is a complete 1×1 PNG.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9_-]+$"},"name":{"type":"string","minLength":1,"maxLength":160},"mimeType":{"type":"string","minLength":1,"maxLength":120},"base64":{"type":"string","minLength":4,"maxLength":8388608}},"required":["sessionId","name","mimeType","base64"],"additionalProperties":false,"examples":[{"sessionId":"session-id","name":"example-pixel.png","mimeType":"image/png","base64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAusB9Wl6Ot8AAAAASUVORK5CYII="}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.asset.import","arguments":{"sessionId":"session-id","name":"example-pixel.png","mimeType":"image/png","base64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAusB9Wl6Ot8AAAAASUVORK5CYII="}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}