pub struct DispatchRequest {
pub exchange_id: ExchangeId,
pub tool_action_id: ToolActionId,
pub tool_name: ToolName,
pub provider_tool_call_id: String,
pub request_ordinal: u32,
pub arguments_json: String,
}Expand description
Request to dispatch one complete tool call through the linked handler path.
Fields§
§exchange_id: ExchangeIdExchange owning this call (model path); MCP may synthesize one.
tool_action_id: ToolActionIdInternal action id.
tool_name: ToolNamePublic tool name as requested.
provider_tool_call_id: StringProvider correlation id preserved exactly.
request_ordinal: u32Model-declared order.
arguments_json: StringComplete JSON argument payload.
Trait Implementations§
Source§impl Clone for DispatchRequest
impl Clone for DispatchRequest
Source§fn clone(&self) -> DispatchRequest
fn clone(&self) -> DispatchRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DispatchRequest
impl RefUnwindSafe for DispatchRequest
impl Send for DispatchRequest
impl Sync for DispatchRequest
impl Unpin for DispatchRequest
impl UnsafeUnpin for DispatchRequest
impl UnwindSafe for DispatchRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more