Skip to content

Interface: PlanStep

Defined in: packages/sdk/src/renderer/templates/plan.ts:13

One step of a plan.

Properties

PropertyTypeDescriptionDefined in
labelstringThe step text shown in the editable row.packages/sdk/src/renderer/templates/plan.ts:15
run(args: { label: string; }) => | ChatToolReturn | Promise<ChatToolReturn>The step's action — runs when the user presses Run, receiving the (possibly edited) label. May be deterministic or call agent() / a model (non-deterministic). Its return is summarized into the step's result.packages/sdk/src/renderer/templates/plan.ts:21

Matterway Assistant SDK Documentation