switch_get_login_url
Starts the Nintendo login flow and returns a login URL with steps to follow when no session token exists or after a token expires.
Instructions
Start the Nintendo login: returns the login URL and the steps to follow.
Use it first when the server has no session token, or after a tool reported that the token expired. The user opens the URL, logs in, copies the link of the "Select this person" button and gives it to switch_complete_login. Every call starts a new login and replaces the previous one.
Returns "Error: ..." if the login URL cannot be created.
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_get_login_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |