set_clip_fade_tool
Set fade-in and fade-out durations for a single audio clip, optionally choosing linear, equal-power, or S-curve shapes; fades are clamped to fit the clip.
Instructions
Set the fade-in and fade-out duration of a single clip, and optionally their shapes.
A fade you set is bounded only by the clip: each fade fits in the clip, and fade-out is
limited to what fade-in leaves. render.join_fade_max_ms and the episode's Longest automatic
join fade (set_join_fade_limit_tool) limit only the fades ShareCut picks by itself.
The result reports the applied fade_in_ms / fade_out_ms and clamped. A curve is linear (the default),
equal_power or s; left out, the clip keeps its current curve. A curve applies to a
fade that is not at a cut or blended join. list_clips_tool names a curve only while it
is not linear.
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": {
"clip_id": "<clip_id>",
"fade_in_ms": "<fade_in_ms>",
"fade_out_ms": "<fade_out_ms>"
},
"name": "set_clip_fade_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | Yes | ||
| fade_in_ms | Yes | ||
| fade_out_ms | Yes | ||
| project_path | No | ||
| fade_in_curve | No | ||
| fade_out_curve | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |