list_work_plans
Lists the work plans of the project with progress, refinement, readiness and the number of blocking dependencies; the total is exact and limit/offset page through it. A work plan is a named list of tasks (a sprint, an MVP milestone): NOT the planning tool propose_plan, NOT a canvas dependency link between blocks. A task belongs to a plan by the label plan: followed by the plan code; progress, refinement and readiness are COMPUTED at read time and not stored. phase: "refine" is the queue of the capable agent: every plan not finished or cancelled that still holds unrefined tasks (a plan pret or en-cours with an unrefined task is flagged drift), with its first unrefined tasks and what each misses. phase: "execute" is the queue of the executing agent: the plans pret or en-cours with no blocking dependency, with the tasks claim_task would accept from the plan's holder (its connection plus its agent name; while a claim lives, every other caller gets plan-held on them) that are also refined, in claiming order, and blockedPlans for the plans held back with the cause. summary answers "is every task in a plan?": unplannedTasks (open tasks with no plan:* label), multiPlanTasks and orphanPlanLabels (labels that name no plan). Cancelled plans appear only with status: ["annule"] or readiness: ["cancelled"]. execution (gatesClaims: true) says the EXECUTION GATE is live: the tasks that carry this plan's label are handed out by claim_task and list_tasks({ executable: true }) only while the plan is pret or en-cours, has no blocking dependency, no other identity leads it under a live claim and the task itself is refined; otherwise claim_task refuses them with plan-not-ready and planGate. Tasks without a plan label are unaffected. It is guidance for the claim protocol, not a lock. An edge whose prerequisite is a DOCUMENT is never read as settled (the validation of documents is not read yet): an existing document reads open (blocking, reason document-not-read), a deleted one target-missing; the response carries limits when it applies. An ARCHIVED prerequisite that was not done BLOCKS (target-archived), here and in claim_task / executable alike, until a human lifts it through a decided arbitration. Modifies nothing.
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": "list_work_plans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default: 200 (max 200). | |
| phase | No | `refine`: the queue of the refining agent (plans not finished or cancelled that still hold unrefined tasks). `execute`: the queue of the executing agent (plans `pret` or `en-cours` with no blocking dependency). Adds a `queue` per plan. | |
| offset | No | Skip the first N. `total` and `hasMore` say whether anything is left. | |
| sortBy | No | Default: `position` (plans without a position last), then code. `dueOn` puts plans without a due date last. | |
| status | No | Keeps the plans in one of these statuses. Default: every status except `annule`, which appears only when asked. Refused together with `phase`. | |
| version | No | Keeps the plans of exactly this version label (no ordering or grouping of versions). | |
| readiness | No | Keeps the plans in one of these readinesses (`to-compose`, `to-refine`, `blocked`, `ready`, `finished`, `cancelled`). | |
| tasksPerPlan | No | Tasks listed per plan in `queue` (default 20, max 100). Only with `phase`. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |