set_package_state
Start or stop an installed package on a Synology NAS using its package ID, with actions 'start' or 'stop'.
Instructions
Start or stop an installed package. [control]
Args: package_id: Package id from list_packages (e.g. "WebStation", "DownloadStation") action: "start" or "stop"
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": {
"package_id": "<package_id>",
"action": "<action>"
},
"name": "set_package_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| package_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |