Cloud Login (resume / poll device-code)
memory-login-resumePoll a device-code pairing started by memory-login to confirm approval; returns approved, pending, denied, expired, or error, and writes the credentials file on approval.
Instructions
Poll a device-code pairing started by memory-login. Polls for ~45s, then returns one of: approved, pending, denied, expired, error. If "pending" is returned and expiresAt has not passed, call this tool again with the same arguments to keep waiting. On "approved" the credentials file is written and the response includes the storage api_url assigned by the server.
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>",
"deviceCode": "<deviceCode>",
"intervalSeconds": "<intervalSeconds>",
"expiresAt": "<expiresAt>"
},
"name": "memory-login-resume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiresAt | Yes | Epoch ms after which the device code is expired (returned by memory-login). | |
| serverUrl | Yes | przm Cloud base URL — must match the one passed to memory-login. | |
| deviceCode | Yes | device_code returned by memory-login. | |
| intervalSeconds | Yes | Polling interval suggested by the server (returned by memory-login). |