switch_complete_login
Completes Nintendo login with the redirect URL from the 'Select this person' button, returns a session token to save as SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN, and unlocks other tools.
Instructions
Finish the Nintendo login with the link copied after switch_get_login_url.
Use it once the user has the link of the "Select this person" button. It signs in, makes the other tools usable and returns the session token with the command to save it as SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN.
Returns "Error: No pending login found. ..." if switch_get_login_url was not called first, and "Error: ..." if the link is invalid or the login fails.
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": {
"redirect_url": "<redirect_url>"
},
"name": "switch_complete_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redirect_url | Yes | The URL you were redirected to after clicking 'Select this person' on the Nintendo login page. It starts with 'npf71b963c1b7b6d119://' or similar. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |