Struct Tool Execution Context
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Per-call context supplied to a tool execution intercept.
tool_call_id is the provider-issued correlation identifier recorded on the managed tool call, and is None when the call did not record one.
Implementations
impl ToolExecutionContext
impl ToolExecutionContext
tool_name
pub fn tool_name(&self) -> &str
Returns the tool name associated with the execution.
args
pub fn args(&self) -> &Json
Returns the JSON argument payload entering this intercept.
into_args
pub fn into_args(self) -> Json
Consumes the context and returns its JSON argument payload.
tool_call_id
pub fn tool_call_id(&self) -> Option<&str>
Returns the provider-issued tool-call correlation identifier.
Trait Implementations
impl Clone for ToolExecutionContext
impl Clone for ToolExecutionContext
clone
fn clone(&self) -> ToolExecutionContext
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ToolExecutionContext
impl Debug for ToolExecutionContext
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result