switch_list_players
List all players on a Nintendo Switch device with player IDs and today's playtime to find an ID for other queries or compare usage across profiles.
Instructions
List the players (user profiles) of one device, with their player IDs.
Use it to find a player_id for switch_get_player, switch_get_playtime or switch_get_monthly_summary, or to compare today's playtime of all players. Each player comes with nickname, player ID, avatar URL and today's playtime; the JSON adds the apps played today.
Returns "No players found on device ''." if the device has none.
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_list_players"
}
}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 |