Apply an edit to an animation
apply_editApply a regenerated SVG to update an animation referenced by an edit request. The preview refreshes live with the change.
Instructions
Apply a regenerated SVG to the animation referenced by an edit request (from await_edit_request). Updates the animation in place — the preview UI refreshes live. Pass the complete new .
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": {
"requestId": "<requestId>",
"svg": "<svg>"
},
"name": "apply_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | The complete, self-contained updated <svg>...</svg> with the change applied. | |
| requestId | Yes | The id from the await_edit_request result. |