claim_next_task
Select, claim, and return context for the next task in a planning scope. Automatically prioritizes in-progress tasks, suggested tasks, or your tasks with an optional fresh start.
Instructions
Pick the next task in scope, claim it, and return its context — all in one call. Resolution order: (1) resume any in_progress task, (2) suggest_next_tasks, (3) my_tasks fallback. Pass fresh:true to skip the resume step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| ttl_minutes | No | ||
| fresh | No | ||
| context_depth | No | ||
| dry_run | No | If true, return the candidate task without claiming. Lets the caller peek before committing. No phantom claim left behind. |