switch_add_extra_time
Add extra playtime for a single device today only, on top of its daily limit. Use it for one-off bonus minutes; repeated calls increase today's extra time without changing other days.
Instructions
Give a device extra playtime for today only, on top of its limit.
Use it for a one-off "30 more minutes today"; the limit of other days stays as it is. Every call adds to the extra time already given. To change the limit itself use switch_set_daily_playtime_limit. Returns a confirmation.
Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.
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": {
"device_id": "<device_id>",
"minutes": "<minutes>"
},
"name": "switch_add_extra_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | Yes | Number of extra minutes to add for today (must be positive). | |
| device_id | Yes | The unique device ID. Use switch_list_devices to find it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |