LlmCore.Agent.ToolDispatch.Components.ExecuteOneCall (llm_core v0.3.0)

Copy Markdown View Source

Executes a single parallel sub-tool call.

With count: N in the pipeline definition, N GenStage workers run this stage concurrently. When the fan-out Composer emits N events, they distribute across workers for parallel execution.

If the event has no current_step (passed through from fan-out with no parallel steps), this stage is a pass-through.

Summary

Functions

Executes the tool call specified by current_step.

Functions

call(event, opts)

Executes the tool call specified by current_step.

Parameters

  • event%Event{} with current_step and resolve_fn
  • opts — ALF stage options (unused)

Returns

Updated %Event{} with step_result populated. The result is either a success map %{label, tool, content} or an error map %{label, tool, error}.