p6_critical_path
Lists near-critical and critical activities of a Primavera P6 project by total float or longest path, with counts, thresholds, and schedule state for last F9.
Instructions
Critical activities of the last F9, one page; also definition, mode_used, threshold_d (the project's total float threshold in project calendar days; explain=True adds threshold_h), counts, schedule_state, note. mode: project (default: the project setting, total float <= its threshold or longest path), total_float (that threshold) or longest_path (P6's driving path flag). float_threshold_days forces total float <= that; min_float_days keeps total float > that (neither with longest_path): min_float_days=0 with float_threshold_days=10 lists the near critical activities. LOE and WBS summary are left out (even when P6 flags them), completed ones unless include_completed=True. Order: total float then start, or float path order. counts (open activities, every page): open, total_float, longest_path, negative_float, excluded_summary (LOE and WBS summary meeting the definition, 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). | |
| detail | No | brief (default): rows without null values; full: every key. | brief |
| fields | No | Fields to return (task_code always first); default all. | |
| offset | No | Rows to skip (next_offset of the previous page). | |
| explain | No | True: also return the fixed texts in words (see the description). | |
| project | Yes | Project ID (p6_list_projects). | |
| min_float_days | No | ||
| include_completed | No | ||
| float_threshold_days | No |