Interface PlanAction

The type of action a plan step performs.

interface PlanAction {
    type: PlanActionType;
    toolId?: string;
    toolArgs?: Record<string, unknown>;
    subgoal?: string;
    query?: string;
    content?: string;
}

Properties

Action type

toolId?: string

Tool to invoke (if type is 'tool_call')

toolArgs?: Record<string, unknown>

Arguments for tool call

subgoal?: string

Sub-goal to pursue (if type is 'subgoal')

query?: string

Query for information retrieval

content?: string

Content for reasoning/synthesis steps