switch_get_device
Retrieve one device's current parental control settings and today's playtime, including timer mode, daily limit, remaining time, restriction mode, bedtime, players, and tracked apps.
Instructions
Get the current parental control settings and today's usage of one device.
Use it to see how a device is set up: timer mode, daily limit, today's playtime and remaining time, restriction mode (forced termination or alarm only), bedtime alarm and end, and the number of players and tracked apps. For the settings of each day of the week there is no read tool; for playtime history use switch_get_playtime or switch_get_monthly_summary.
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>"
},
"name": "switch_get_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | The unique device ID (e.g. 'abc123'). Use switch_list_devices to find it. | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |