Skip to content

Interface: ExecutionGroup

@providerprotocol/agents


@providerprotocol/agents / index / ExecutionGroup

Defined in: src/execution/tool-ordering.ts:14

Represents a group of tool calls that can execute together.

Execution groups are created by orderToolCalls to organize tool calls for efficient execution while respecting dependencies. Groups marked as barriers must execute sequentially (one call at a time), while non-barrier groups can execute all calls in parallel.

orderToolCalls for the function that creates these groups

calls: ToolCall[]

Defined in: src/execution/tool-ordering.ts:16

Tool calls in this group that can execute together


isBarrier: boolean

Defined in: src/execution/tool-ordering.ts:22

Whether this group contains a sequential tool (acts as barrier). When true, calls in this group execute one at a time. When false, all calls can execute in parallel.