upgrade
upgradeStart buying Compass OS for the user: Plus or Pro (monthly or yearly), the Search Pass (Pro for 30 days, once) or a credit pack (100 AI credits that never expire, once). Use it when they ask to upgrade, or to get more AI credits after a limit. It asks first in a card with the price and whether it renews; their Yes opens Stripe's payment page, where they pay themselves. It never charges anything on its own. When their plan already covers it, it says so instead (a plan is switched in Settings, Manage billing). Returns the payment link.
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": {
"product": "<product>"
},
"name": "upgrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | plus or pro for a plan; pass for the Search Pass (Pro for 30 days, once); pack for a credit pack (100 AI credits, once) | |
| interval | No | For plus or pro: monthly (the default) or yearly; leave empty for pass and pack |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The answer, or what was done, in plain words for the user: the same text as content | |
| undo | No | On a saved write: its undo handle, for undo within 24 hours | |
| widget | No | The card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet |