lash_core/
tool_dispatch.rs1mod attempt_coordinator;
2mod context;
3mod directives;
4mod execution;
5mod preparation;
6mod retry;
7mod scheduling;
8#[cfg(test)]
9mod tests;
10
11pub use context::{ToolDispatchContext, ToolTriggerEffectOutcome};
12#[cfg(test)]
13pub(crate) use scheduling::{ParallelToolCallSpec, dispatch_parallel_tool_calls};
14
15pub(crate) use attempt_coordinator::{ToolAttemptEffectIdentity, coordinate_tool_invocation};
16pub(crate) use context::{
17 CheckpointMessageBuffer, PendingToolDispatchOutcome, ToolCallLaunch, ToolDispatchOutcome,
18 ToolPreparationOutcome, ToolTriggerOutcomeBuffer,
19};
20#[cfg(test)]
21pub(crate) use execution::coordinate_prepared_tool_call_launch_with_execution_context;
22pub(crate) use execution::{
23 execute_prepared_tool_attempt_effect, finalize_tool_result_with_execution_context,
24};
25#[cfg(test)]
26pub(crate) use preparation::dispatch_tool_call;
27#[cfg(test)]
28pub(crate) use preparation::dispatch_tool_call_with_execution_context;
29pub(crate) use preparation::{
30 prepare_granted_tool_call_with_context, prepare_tool_call_with_context,
31 resolve_callable_manifest, resolve_callable_manifest_by_id,
32 resolve_tool_argument_projection_policy,
33};
34pub(crate) use retry::{mark_retry_exhausted, retry_after_ms};
35pub(crate) use scheduling::{resolve_tool_scheduling, schedule_tool_batch};