---
url: >-
  https://adk.nht.io/api/batteries/orchestration/outline/functions/planOutline.md
---

# Function: planOutline()

```ts
function planOutline(store: PlanStore, planId: string): Promise<PlanOutline>;
```

Defined in: [src/batteries/orchestration/outline.ts:64](https://github.com/NHTIO/ADK/blob/v1.20260906.0/src/src/batteries/orchestration/outline.ts#L64)

Build a flat outline of a plan: one entry per phase, plus a single entry for unphased nodes.

## Parameters

| Parameter | Type                                                                                  | Description                    |
| --------- | ------------------------------------------------------------------------------------- | ------------------------------ |
| `store`   | [`PlanStore`](../../../../@nhtio/adk/batteries/orchestration/interfaces/PlanStore.md) | the plan store to read from.   |
| `planId`  | `string`                                                                              | the id of the plan to outline. |

## Returns

`Promise`<[`PlanOutline`](../../../../@nhtio/adk/batteries/orchestration/types/interfaces/PlanOutline.md)>

the flat outline of the plan.

## Remarks

Each `PhaseEntry` carries the exact surface forms a reader needs to fetch a slice — the phase
name, the node ids, the tool names of every `call` node, an open-issue count, and a one-line
summary. The outline is deliberately a single flat list with no second routing level; see the
module doc for why.
