Cloud Login (start device-code pairing)
memory-loginStart a device-code login against a przm Cloud server and get the URL and user code a human must visit and enter in a browser to approve access.
Instructions
Start a device-code login against a przm Cloud server (the same flow as the przm-memory login CLI command). Returns the URL and user code the human must visit + enter in a browser. AFTER showing those to the user, call memory-login-resume with the returned deviceCode to poll for approval — it may need to be called more than once if the user is slow. On approval the credentials file at ~/.pyre/credentials.json (or $PYRE_CREDENTIALS_FILE) is written and przm Memory's cloud storage adapter starts using it on next server start.
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": {
"serverUrl": "<serverUrl>"
},
"name": "memory-login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Friendly device label to attach to the issued credential. Defaults to this machine's hostname. | |
| serverUrl | Yes | przm Cloud base URL (e.g. https://przm.sh). No trailing slash needed. |