# `H.Session.Server.Tools`
[🔗](https://github.com/parlant/harness/blob/v0.3.0/lib/h/session/server/tools.ex#L1)

Tool worker spawning, argument validation, mutating workspace lease handling,
sequential tool-round advancement, and interrupted/aborted tool settlement
for `H.Session.Server`.

# `abort_child_tools`

# `finish_tool_round_stage`

# `next_tool_spawn_effects`

Computes the next `{:spawn_tool, cid, tid}` effects for a generation's tool round.

Regular worker tools execute sequentially one at a time, whereas
pending `"subagent"` tool calls dispatch and park concurrently without holding
`Task.Supervisor` workers. While parked `"subagent"` calls remain `"waiting"`,
any subsequent non-subagent tool calls in the same assistant turn can still advance.

# `recover_unclean_tool_call`

# `spawn_worker`

# `stage_after_tool_settled`

# `stage_done`

# `unsafe_running_tool?`

---

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