getMailboxQuote
getMailboxQuote: Get a display-only price quote for a mailbox plan. The backend re-derives the authoritative price at purchase. 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": {
"packageId": "<packageId>"
},
"name": "getMailboxQuote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Payment term: 'MONTHLY' or 'ANNUAL' (default ANNUAL). | |
| packageId | Yes | Mailbox plan id from listMailPlans. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | ||
| message | No | ||
| success | No | ||
| currency | No | ||
| packageId | No | ||
| priceCents | No | ||
| quotaBytes | No | ||
| packageName | No |