setMailboxPassword
setMailboxPassword: Set a new password on a mailbox. Never log or store the password. Requires authentication.
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": {
"mailboxId": "<mailboxId>",
"password": "<password>"
},
"name": "setMailboxPassword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | The new mailbox password; never log or store it. | |
| mailboxId | Yes | Mailbox id from listMailboxes. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |