firefighter_storage
Allocates per-project disk space and manages it: claim a storage allotment, rank files as keep/useful/scratch, list contents, and free space by deleting least important items.
Instructions
Disk space the human allots agents. show: the allotment and every space. claim: set your project's space to gb (new, bigger or smaller) and get its folder; keep the project's big files (data, checkpoints, models, caches) there and delete what you no longer need. label: rank a file or folder in your space (path) as keep (needed), useful (costly to remake) or scratch (temporary), with for = what uses it and until when; rank everything you save. items: your space's contents, least important first. free: delete the least important items until gb is freed (scratch first; upto=unranked or useful goes further; keep is never deleted; dry_run to preview). release: give it back (delete=true removes its files). While a space holds more than its claim, its project's new jobs wait.
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": {
"action": "<action>"
},
"name": "firefighter_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gb | No | For claim: size of the space; for free: GB to free | |
| cwd | No | Your absolute working directory (sets the default project) | |
| for | No | For label: what uses it, and until when | |
| why | No | For claim: what it holds | |
| path | No | For label: file or folder in your space (relative to it, or absolute) | |
| rank | No | For label: keep | useful | scratch | none | |
| upto | No | For free: scratch (default) | unranked | useful | |
| force | No | Change another project's space (not the one cwd is in) | |
| action | Yes | show | claim | label | items | free | release | |
| delete | No | For release: delete the space's files | |
| dry_run | No | For free: only list what would go | |
| project | No | Project (default: the repo or folder of cwd) |