Run editor tool
run_editor_toolRun one of the editor's own Tools panel tools (Smoothing, Speed Limiter, Simplify and the rest) on an axis, as if the user ran it. read_script lists the ids and settings. Give from_ms and to_ms for one range, or leave both out for the whole axis. A tool marked needs ScriptCompiler Pro cannot run: tell the user it is part of Pro and do not copy its effect another way. Lands as one Undo step.
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": {
"tool": "<tool>"
},
"name": "run_editor_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Axis. stroke is the main up and down axis. | stroke |
| tool | Yes | Tool id from read_script, for example smoothing. | |
| to_ms | No | End of the time range in milliseconds. | |
| params | No | The tool's settings by name. | |
| from_ms | No | Start of the time range in milliseconds on the video timeline. | |
| editor_code | No | The editor code the user reads from the editor's AI panel under Your own AI, for example K7P4QX. Leave it out when connected with the account address. |