login
Authenticate to a dzStudio server via browser code confirmation; first call returns address and code, second completes sign-in. Pass a name for name-only local servers.
Instructions
Sign in to a server with a code the user confirms in the browser. The first call returns the address and code to give to the user; call it again after they confirmed. The login is kept across restarts. For servers in a local network that only accept a name, pass name.
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name, only for servers that log in by name | |
| server | No | Server name; default: the first configured server |