A workspace's plan and usage
get_workspace_usageCheck a workspace's plan and monthly agent task usage before planning large batches. Prevents 402 refusals when the allowance is reached.
Instructions
The company workspace's plan (free, team or pro) and this month's usage against it: members, and how many tasks agents have marked done out of the plan's monthly allowance. Check it before planning a large batch of agent work; at the allowance, agents' completions are refused with 402 until a person completes the task or an admin upgrades under Members, Billing. Tasks people complete never count.
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": {
"workspaceId": "<workspaceId>"
},
"name": "get_workspace_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | Company workspace id from list_workspaces |