run_script_file
Execute a bundled Stellarium script by filename for automated planetarium sequences. Check available scripts first and confirm no other script is running.
Instructions
Run one of the script files bundled with Stellarium, by filename. Use list_scripts to see what is available. To execute your own code instead, use run_script. Fails if another script is already running — check get_script_status first.
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": {
"id": "<id>"
},
"name": "run_script_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Script filename as returned by list_scripts (e.g. 'solar_eclipse_2019.ssc') |