Skip to main content

lash_core/
tool_dispatch.rs

1mod context;
2mod directives;
3mod execution;
4mod preparation;
5mod retry;
6mod scheduling;
7#[cfg(test)]
8mod tests;
9
10pub use context::{ToolDispatchContext, ToolTriggerEffectOutcome};
11#[cfg(test)]
12pub(crate) use scheduling::{ParallelToolCallSpec, dispatch_parallel_tool_calls};
13
14pub(crate) use context::{
15    CheckpointMessageBuffer, PendingToolDispatchOutcome, ToolCallLaunch, ToolDispatchOutcome,
16    ToolPreparationOutcome, ToolTriggerOutcomeBuffer,
17};
18pub(crate) use execution::{
19    dispatch_prepared_tool_call_launch_with_execution_context,
20    finalize_tool_result_with_execution_context,
21};
22#[cfg(test)]
23pub(crate) use preparation::dispatch_tool_call;
24#[cfg(test)]
25pub(crate) use preparation::dispatch_tool_call_with_execution_context;
26pub(crate) use preparation::{
27    prepare_tool_call_with_context, resolve_callable_manifest, resolve_callable_manifest_by_id,
28    resolve_tool_argument_projection_policy,
29};
30pub(crate) use scheduling::{resolve_tool_scheduling, schedule_tool_batch};