{ "name": "resize-design", "description": "Resize a Canva design to a preset or custom size. The tool will provide a summary of the new resized design, including its metadata.", "inputSchema": { "type": "object", "properties": { "design_id": { "type": "string", "minLength": 11, "maxLength": 11, "pattern": "^D[a-zA-Z0-9_-]+$", "description": "ID of the design to resize. Design ID starts with \"D\"." }, "design_type": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "const": "preset" }, "name": { "type": "string", "enum": [ "presentation", "whiteboard" ], "description": "The preset design type name. Options: 'presentation', 'whiteboard'." } }, "required": [ "type", "name" ], "additionalProperties": false, "description": "Use this when resizing to a preset design type. Provide 'type: preset' and 'name'." }, { "type": "object", "properties": { "type": { "type": "string", "const": "custom" }, "width": { "type": "number", "minimum": 1, "description": "Width of the design in pixels. Must be at least 1." }, "height": { "type": "number", "minimum": 1, "description": "Height of the design in pixels. Must be at least 1." } }, "required": [ "type", "width", "height" ], "additionalProperties": false, "description": "Use this when resizing to custom dimensions. Provide 'type: custom', 'width', and 'height'." } ], "description": "Target design type (preset or custom). Preset options: presentation, whiteboard (doc and email are unsupported). Custom options: width and height in pixels." }, "user_intent": { "type": "string", "description": "Mandatory description of what the user is trying to accomplish with this tool call. This should always be provided by LLM clients. Please keep it concise (255 characters or less recommended)." } }, "required": [ "design_id", "design_type" ], "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" } }