Plan project timeline
plan_project_timelineUse this when the user wants a Gantt chart, project timeline, project schedule or project plan with milestones from a task list, wants to find the critical path and project duration, or asks for early start, early finish, late start, late finish, total float or free float (critical path method). Takes tasks with durations (days or weeks), finish-to-start dependencies with optional lags, optional start-no-earlier-than dates, owners and milestones, plus a start date and a business-day calendar with country public holidays or calendar days. Returns every task's dates and float, the critical path, milestones and the end date, an interactive Gantt chart, and CSV, .ics and SVG downloads. Detects dependency loops and unknown task names. Does not save projects, sync with project tools, track progress, or level resources. Do not use for a single date difference or for daily to-do planning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | Tasks in any order (1 to 150), e.g. [{"id":"A","name":"Design","duration":5},{"id":"B","name":"Build","duration":10,"depends_on":["A"]}]. | |
| country | No | Country whose public holidays are skipped in business_days mode, as a 2-letter code or name, e.g. US, GB, DE, PL. | |
| calendar | No | business_days (default) counts Monday to Friday and skips public holidays of country; calendar_days counts every day. | |
| start_date | No | Project start date YYYY-MM-DD, e.g. 2026-11-02. Defaults to today. Convert relative dates ("next Monday") to a date first. | |
| subdivision | No | State or region code for regional holidays, e.g. CA for California or BY for Bavaria. | |
| project_name | No | Project title for the chart and files, e.g. "Website relaunch". | |
| duration_unit | No | Default unit for every task duration: days (default) or weeks. | |
| non_working_dates | No | Extra days off such as a company shutdown, YYYY-MM-DD, e.g. ["2026-12-28", "2026-12-29"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| request | Yes | ||
| calendar | Yes | ||
| end_date | Yes | ||
| warnings | Yes | ||
| downloads | Yes | ||
| milestones | Yes | ||
| start_date | Yes | ||
| project_name | Yes | ||
| working_days | Yes | ||
| calendar_days | Yes | ||
| critical_path | Yes |