execute_action
Apply one MarketCanvas design edit or submit action; invalid attempts consume one step without altering elements.
Instructions
Execute one edit or submit; an invalid attempt consumes one step without changing elements.
Examples: {"op":"move_element","id":"e1","x":100,"y":80}; {"op":"update_element","id":"e1","properties":{"text_color":"#000000"}}; {"op":"add_element","element":{"type":"text","role":"headline","content":"Summer Sale"}}; {"op":"submit"}. Call get_action_schema for full property definitions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||