do_action
Triggers any Stellarium action by ID for behavior not covered by dedicated tools. Use it as an escape hatch; boolean actions toggle when invoked.
Instructions
Trigger any Stellarium action by its id — the escape hatch for behaviour not covered by a dedicated tool. Boolean actions toggle. Prefer toggle_display_feature for the common display toggles. Unknown ids are ignored by Stellarium without an error.
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": "do_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Action id (e.g. 'actionShow_Nebulas', 'actionGoto_Selected_Object', 'actionSet_Full_Screen_Global') |