Ask the user for an API budget
request_budgetRequest a spending budget for specific operations. Ask only for the operations and amount the task needs: the user sees the exact scope, caps and purpose, and calls outside it are refused. The approval link goes to the user, not to you.
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": {
"purpose": "<purpose>",
"scope": "<scope>",
"perCallMaxUsd": "<perCallMaxUsd>",
"totalMaxUsd": "<totalMaxUsd>"
},
"name": "request_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The user's email. Needed only if you connected without signing in: Gluo sends the approval there. | ||
| scope | Yes | ||
| purpose | Yes | One sentence on what the calls are for, shown to the user | |
| ttlMinutes | No | ||
| totalMaxUsd | Yes | ||
| perCallMaxUsd | Yes |