critical_path_narrative
Compute the critical path for a project with the schedule engine and return a prose summary. The critical path is the chain of linked tasks with no float, worked out from dependencies, durations, constraints and the project calendar; no field on a task puts it on the path, and task priority is unrelated to it. Returns the ordered critical-task IDs, the bottleneck task, projectEnd (the engine's computed finish), the project's total duration in days, the critical chain's own length in working days (chainDurationDays, the figure the prose quotes), a 2-3 sentence explanation of the chain, autoSchedule, and facts: computedAt, statusDate, criticalTasks (title, computed and stored start and finish, float), computedFinish next to storedLatestDue (the latest due date stored on a task) and projectEndField, finishesAgree, finishGapCalendarDays, finishesLaterThanStored (the tasks the engine finishes after their stored due date, with a reason code) and finishNote, one paragraph stating both finishes and why they differ. The calculation is deterministic (no LLM); the prose falls back to a template when the AI provider is unavailable. No plan gate. Use when the user asks what is on the critical path, which tasks are critical, why a task is or is not critical, asks for tasks to be made critical, or asks when the project or its critical path finishes.
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": {
"projectId": "<projectId>"
},
"name": "critical_path_narrative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ID of the project to compute the critical path for. |