Fade layer
fade_layerFade a layer's opacity between two frames in one call.
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": {
"elementId": "<elementId>",
"fromFrame": "<fromFrame>",
"toFrame": "<toFrame>",
"fromOpacity": "<fromOpacity>",
"toOpacity": "<toOpacity>",
"projectId": "<projectId>"
},
"name": "fade_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toFrame | Yes | ||
| elementId | Yes | ||
| fromFrame | Yes | ||
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. | |
| toOpacity | Yes | 0..1. | |
| fromOpacity | Yes | 0..1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The payload, shaped by the tool. | |
| note | No | What to do next when not ready. | |
| error | No | Why it failed. | |
| status | No | For cache-backed readers: whether the answer was ready. | |
| editorUrl | No | Opens this project in the editor. |