Read this period's spend
luca_usage_spendRead model spend by agent and day for a period, compare it with the billing account's monthly budget, and check whether AI replies are paused.
Instructions
Read model spend for the period, rolled up by agent and by day, against the billing account's monthly budget, and whether AI replies have paused.
Luca operation: GET /api/usage Required scopes: usage:read Required OAuth scope: luca:read; data sensitivity: redacted Does not require idempotency. Use workspaceId or workspaceSlug to override the default workspace configured by environment.
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": "luca_usage_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| workspaceId | No | Optional Luca workspace id override. | |
| workspaceSlug | No | Optional Luca workspace slug override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |