setEffect
Adjust an effect region by ID: move or resize its time span, update parameter values, or change its target. Only passed fields change, and overlapping spans are refused.
Instructions
Move, resize or re-tune an effect region by id (virtual seconds): its span, its parameter values, or its target. Only the fields you pass change; a value equal to the default is dropped. Refused if the new span runs into another effect: one runs at a time.
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": {
"effectRegionId": "<effectRegionId>"
},
"name": "setEffect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endSec | No | ||
| target | No | ||
| values | No | ||
| startSec | No | ||
| projectId | No | The project to act on, from listProjects. Omit it only for the project open in the OpenScreen editor, which works only while the app runs. | |
| effectRegionId | Yes |