Get Credits
get_creditsRead the authenticated workspace's existing balance in USD cents. No charge or balance change. This tool cannot purchase credits, initiate checkout or transfer funds.
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_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| currency | No | ||
| operation | Yes | ||
| creditsCents | No |