p6_list_wbs
Lists a Primavera P6 project's WBS hierarchy in P6 order with paginated nodes and optional rollups for activity counts, float, dates, and units.
Instructions
WBS tree in P6 order (each node before its children), one page; also root (the start node; unplaced = activities outside the tree). Row: ids, depth (project node 0), wbs_code as P6 shows it ('PRJ.5.1'), names, children, and with rollups=True its whole subtree: activity counts by status, open (LOE and WBS summary left out), min_tf_d and negative_float of open activities, start and finish (actual, else early), budget_units and actual_units (labor plus nonlabor), units_pct (P6 Units % Complete) and bl_planned_pct (baseline planned units at the data date / baseline budget units x 100, matched by Activity ID, linear between planned dates as p6_progress_curve; None without a baseline, data date or units). baseline= a Project ID (default the project baseline; the result names it). parent= starts at that WBS code, full or relative ('5.1'); max_depth counts levels below it.
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_list_wbs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (max 200). | |
| offset | No | Rows to skip (next_offset of the previous page). | |
| parent | No | ||
| project | Yes | Project ID (p6_list_projects). | |
| rollups | No | ||
| baseline | No | Project ID (p6_list_projects). | |
| max_depth | No | Levels below the start node (0 = the node only). |