set_startup_item
Enable or disable a startup item by hiding its autostart entry or disabling its systemd user unit, matching desktop settings without deleting anything.
Instructions
Turns a startup item on or off the way the desktop's own settings do: an autostart entry is hidden (a system-wide one by an override in the user's folder), a systemd user unit disabled. Nothing is deleted.
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": {
"name": "<name>",
"enabled": "<enabled>"
},
"name": "set_startup_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The item's name, as list_startup_items gives it. | |
| enabled | Yes | ||
| location | No | Where it is, when two items share the name (list_startup_items' location). |