siril_run_script
Execute Siril command scripts or Python scripts to automate image processing tasks in a live Siril session. Run complex .ssf or .py workflows directly via pyscript.
Instructions
Run a multi-line Siril script (.ssf command script or .py via pyscript).
Args: script_body: Full script contents. kind: "ssf" for command scripts, "py" for Python (executed with pyscript).
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": {
"script_body": "<script_body>"
},
"name": "siril_run_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ssf | |
| script_body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |