# `LlmCore.Agent.ToolDispatch.Components.ExecuteOneCall`
[🔗](https://github.com/fosferon/llm_core/blob/v0.3.0/lib/llm_core/agent/tool_dispatch/components/execute_one_call.ex#L1)

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.

# `call`

```elixir
@spec call(
  LlmCore.Agent.ToolDispatch.Event.t(),
  keyword()
) :: LlmCore.Agent.ToolDispatch.Event.t()
```

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}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
