add_binding
Remap a layer property or parameter onto another property, timeline progress, or parameter using input/output ranges to create linear animation bindings.
Instructions
Add a linear binding that remaps a source (parameter or layer property) onto a target (layer property / timeline progress / parameter) via inputMin→outputMin … inputMax→outputMax.
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": {
"sourceType": "<sourceType>",
"targetType": "<targetType>"
},
"name": "add_binding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional binding id | |
| clamp | No | Clamp output to range (default true) | |
| reverse | No | Reverse mapping (default false) | |
| inputMax | No | Input range high (default 1) | |
| inputMin | No | Input range low (default 0) | |
| outputMax | No | Output range high (default 1) | |
| outputMin | No | Output range low (default 0) | |
| requestId | No | ||
| sessionId | No | ||
| sourceType | Yes | Source kind | |
| targetType | Yes | Target kind | |
| sourceLayerId | No | Source layer (layerProperty) | |
| sourceParamId | No | Source parameter id (parameter) | |
| targetLayerId | No | Target layer (layerProperty) | |
| targetParamId | No | Target parameter id (parameter) | |
| sourceProperty | No | Source dot-path e.g. "transform.x" | |
| targetProperty | No | Target dot-path | |
| expectedRevision | No | ||
| targetTimelineId | No | Target timeline (timelineProgress) |