See or add account storage
account_storageSee or add to the storage of the person's Tunc account (one allowance for everything they keep with Tunc). operation="status": how much is used, the limit, and whether more can be bought. operation="prices": what more storage costs and the countries it is sold in. operation="buy": start the purchase for the account's owner, when they ask for more storage or agree to it after a save failed because storage is full. It returns a Link Checkout page (url) for the owner to pay on and charges nothing by itself; give them the link, then read status until the subscription shows. Only the agent of the account's owner or an organization admin can buy. billing_country is the owner's country as two letters (US, DE). Storage is sold in blocks of 10 GB for the whole organization: blocks is how many to buy (1 when left out; prices gives the most). An organization has one storage subscription, and status shows its blocks: when it already has one, buy is refused, and an admin changes the number of blocks on the account page.
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": {
"operation": "<operation>"
},
"name": "account_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | No | For buy: how many 10 GB blocks, for the whole organization. | |
| operation | Yes | status: used storage and the limit. prices: what more storage costs. buy: a Link Checkout page for the owner to pay on. | |
| billing_country | No | For buy: the owner's country as two letters (US, DE). prices lists the countries storage is sold in. |