pub struct AskInvocation {
pub question: String,
pub strict: Option<bool>,
pub using: Option<String>,
pub model: Option<String>,
pub limit: Option<u32>,
pub min_score: Option<f64>,
pub depth: Option<u32>,
pub temperature: Option<f64>,
pub seed: Option<u64>,
pub cache_ttl: Option<String>,
pub nocache: Option<bool>,
}Expand description
One MCP tool call’s parsed, validated arguments. Every field bar
question is optional — the engine applies defaults downstream
(DeterminismDecider, RrfFuser, etc.), and None here means “no
override, use the engine default” rather than “use zero”.
Fields§
§question: String§strict: Option<bool>§using: Option<String>§model: Option<String>§limit: Option<u32>§min_score: Option<f64>§depth: Option<u32>§temperature: Option<f64>§seed: Option<u64>§cache_ttl: Option<String>§nocache: Option<bool>Trait Implementations§
Source§impl Clone for AskInvocation
impl Clone for AskInvocation
Source§fn clone(&self) -> AskInvocation
fn clone(&self) -> AskInvocation
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 moreSource§impl Debug for AskInvocation
impl Debug for AskInvocation
Source§impl PartialEq for AskInvocation
impl PartialEq for AskInvocation
Source§fn eq(&self, other: &AskInvocation) -> bool
fn eq(&self, other: &AskInvocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AskInvocation
Auto Trait Implementations§
impl Freeze for AskInvocation
impl RefUnwindSafe for AskInvocation
impl Send for AskInvocation
impl Sync for AskInvocation
impl Unpin for AskInvocation
impl UnsafeUnpin for AskInvocation
impl UnwindSafe for AskInvocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request