Can I afford this task on my plans right now?
can_afford_taskFor agents deciding whether to start a task: given the plans you own, how much of each is used, optionally the plan you are on now, and the task size, returns verdict go | wait | switch, which plan to use, reasons and reset windows. Reuses the route_task logic. Task size is a labeled heuristic (vendors don't publish per-task usage). size: small = One file or a quick question; medium = A feature across a few files (tens of minutes); large = A long refactor or multi-hour agent run. Plan ids: claude-pro, claude-max, claude-ultra, codex-free, codex-go, codex-plus, codex-pro, cursor-free, cursor-plus, cursor-premium, cursor-super, cursor-ultra, copilot-free, copilot-pro, copilot-pro-plus, copilot-max, antigravity-individual-free, antigravity-google-ai-pro, antigravity-google-ai-ultra, windsurf-free, windsurf-pro, windsurf-max.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | small | medium (default) | large | |
| task | No | ||
| plans | Yes | ||
| current | No | plan id you are using now |