Environment quota usage
get_environment_usageCheck remaining CPU, memory, storage, and workload quota for an environment before creating or scaling apps, so you avoid exceeding plan limits.
Instructions
Shows how much of the environment's resource quota (CPU, memory, storage, workloads) is still available. Check this before creating or scaling apps.
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_environment_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Account plan name used to look up plan maximums (default "lite"). | |
| project | No | Project name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project. | |
| environment | No | Environment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment. |