siril_run_script
Execute multi-line Siril .ssf command scripts or Python via pyscript to automate image processing in a live Siril GUI session.
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 |