switch_list_devices
List Nintendo Switch consoles and their device IDs, plus names, models, playtime, limits, remaining time, and sync status. Use the returned IDs to manage a device's settings.
Instructions
List the Nintendo Switch consoles of the account, with their device IDs.
Start here: every other tool needs a device_id from this list. Each device comes with its name, model, today's playtime, daily limit, remaining time and last sync; the JSON adds the timer mode, bedtime and restriction mode. Use switch_get_device for the settings of one device.
Returns "No Nintendo Switch devices found on this account." if there are none. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "switch_list_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |