pangea_set_resources
Update an HTTP project's Web CPU, memory, /tmp scratch storage, and Pod runtime class in place to adjust capacity or isolation without redeploying.
Instructions
Update Web CPU (50-32000m), memory (64-65536 MiB), /tmp scratch storage (128-32768 MiB), and/or Pod runtime_class ('gvisor' or trusted 'runc') in-place for an HTTP project.
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": "pangea_set_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu_m | No | Web CPU limit/request in millicores (50-32000) | |
| project | No | Optional project ID (prj_...) or project name (omit when directory has pangea.yaml) | |
| directory | No | Optional local directory containing pangea.yaml | |
| memory_mib | No | Web memory limit/request in MiB (64-65536) | |
| scratch_mib | No | Web /tmp emptyDir sizeLimit in MiB (128-32768) | |
| wait_seconds | No | Seconds to wait for Kubernetes reconciliation (default: 30) | |
| runtime_class | No | Optional Pod runtime class ('gvisor' default, or 'runc' for trusted workspaces) |