Get Wiro account balance and workspace
get_accountCheck workspace type, wallet balance, team role, and spend limits before paid work; optionally list recent transactions to verify charges or credits.
Instructions
Show which workspace the connected project belongs to (personal, or a team) and that workspace's wallet balance. Everything run or bought through this connection is charged to this wallet. In a team it also gives the team role calls act with, admin or member. Use it before paid work and when a call is refused for insufficient balance. With recent_transactions it also lists the wallet's latest transactions, the rows the Transactions page of the Wiro dashboard shows, which is how to check that a charge or a credit landed. A USAGE (AGENT PLAN) row is AI usage an agent's plan covered: it moved no money, so it is no charge. In a team the wallet is shared, so the list holds the activity of the whole team. It also lists the workspace's spend limits and says whether this connection can change Spend Limits and Model Access rules (get_controls shows the rules).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactions_start | No | How many of the latest rows to skip, from nextStart in the last answer. Without recent_transactions it lists 20 rows. | |
| recent_transactions | No | Also list this many of the wallet's latest transactions, newest first (1 to 50). Leave it out to read only the balance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | ||
| authMode | Yes | ||
| controls | No | ||
| workspace | Yes | ||
| spendLimits | No | The workspace's spend limits with what each has used this period. A used-up limit refuses new work with error code 93 even when the wallet has money. | |
| transactions | No | ||
| spendLimitsError | No | Why the spend limits could not be read, when the balance could. | |
| transactionsError | No | Why the transactions could not be read, when the balance could. |