critical_path
Compute the longest path through dependent project tasks, identify slack, and apply merge-bias duration adjustments to expose schedule risk.
Instructions
Compute critical path with merge-bias adjustment for project schedules.
Performs forward/backward pass to identify critical tasks and slack. Applies merge bias: tasks with >2 predecessors get 5% duration increase per extra predecessor. Returns the critical path, task slack, and project duration. Use when sequencing dependent tasks to find the longest path and available slack.
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": {
"tasks": "<tasks>"
},
"name": "critical_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | All tasks in the project graph. Each task must have a unique name. | |
| project | No | Optional project/repo identifier this estimate belongs to, for cross-project analytics. | |
| task_type | No | Optional task type for feedback matching. | |
| session_id | No | Optional session identifier (minted by a calling agent/hook) used to deduplicate repeated estimate calls for the same task within a session. | |
| task_label | No | Optional free-text label identifying the task this estimate is for (e.g. an issue key or short title). Surfaced on get_pending_estimates output for triage. |