p6_critical_path
Lists critical and near-critical activities from the last P6 schedule run, using project, total-float, or longest-path modes with adjustable float thresholds.
Instructions
Critical activities of the last P6 schedule run (F9), one page: {total, offset, returned, next_offset, rows, definition, mode_used, threshold_h, counts, schedule_state, note}. mode: project (default) follows the project setting (total float <= its hours threshold, or longest path); total_float uses that hours threshold; longest_path uses P6's driving path flag. float_threshold_days forces total float <= that many days (not with longest_path); min_float_days keeps only total float > that many days (days of each activity's calendar, not with longest_path): min_float_days=0 with float_threshold_days=10 lists the near critical activities. LOE and WBS summary activities are left out (even when P6 flags them), completed ones too unless include_completed=True. Order: total float then start, or float path order for the longest path. counts (open activities except LOE and WBS summary, any page): open, total_float, longest_path, negative_float; excluded_summary = LOE and WBS summary activities that meet the definition and the status filter but are not listed. fields= as in p6_query_activities.
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": {
"project": "<project>"
},
"name": "p6_critical_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | project | |
| limit | No | Rows per page (max 200). | |
| fields | No | ||
| offset | No | Rows to skip: pass next_offset from the previous page. | |
| project | Yes | Project ID as shown in P6 (p6_list_projects). | |
| min_float_days | No | ||
| include_completed | No | ||
| float_threshold_days | No |