pub struct RapInvocationParams<'a> {
pub endpoint: &'a str,
pub operation: &'a str,
pub arguments: Value,
pub id: String,
pub call_id: Option<String>,
pub callback_url: Option<&'a str>,
}Expand description
One RAP invocation to send: the resolved endpoint plus the tool-call
identity from Tool::execute.
Fields§
§endpoint: &'a strThe server’s invocation endpoint (already resolved by the caller).
operation: &'a strThe tool name from the server’s manifest.
arguments: ValueThe model-provided arguments.
id: StringThe tool-call ID from execute.
call_id: Option<String>The provider call ID from execute.
callback_url: Option<&'a str>Callback destination for the server’s asynchronous results. None
uses ToolContext::callback_url; embeddings that run their own
callback listener pass its URL instead.
Auto Trait Implementations§
impl<'a> Freeze for RapInvocationParams<'a>
impl<'a> RefUnwindSafe for RapInvocationParams<'a>
impl<'a> Send for RapInvocationParams<'a>
impl<'a> Sync for RapInvocationParams<'a>
impl<'a> Unpin for RapInvocationParams<'a>
impl<'a> UnsafeUnpin for RapInvocationParams<'a>
impl<'a> UnwindSafe for RapInvocationParams<'a>
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