Struct Create Tool Handle Params
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct CreateToolHandleParams<'a> {
pub name: &'a str,
pub parent_uuid: Option<Uuid>,
pub attributes: ToolAttributes,
pub data: Option<Json>,
pub metadata: Option<Json>,
pub tool_call_id: Option<String>,
pub timestamp: Option<DateTime<Utc>>,
}
Builder parameters for NemoRelayContextState::create_tool_handle.
Fields
name: &'a str
Tool name recorded on emitted events.
parent_uuid: Option<Uuid>
Optional parent scope UUID.
attributes: ToolAttributes
Tool attribute bitflags.
data: Option<Json>
Optional application payload stored on the handle.
metadata: Option<Json>
Optional metadata stored on the handle.
tool_call_id: Option<String>
Optional provider-specific correlation identifier.
timestamp: Option<DateTime<Utc>>
Optional timestamp captured as the handle start time and reused by the emitted start event. When omitted, the current UTC time is used.
Implementations
impl<'a> CreateToolHandleParams<'a>
impl<'a> CreateToolHandleParams<'a>
builder
pub fn builder() -> CreateToolHandleParamsBuilder<'a, ((), (), (), (), (), (), ())>
Create a builder for building CreateToolHandleParams. On the builder, call .name(...), .parent_uuid(...)(optional), .attributes(...)(optional), .data(...)(optional), .metadata(...)(optional), .tool_call_id(...)(optional), .timestamp(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of CreateToolHandleParams.
Trait Implementations
impl<'a> Clone for CreateToolHandleParams<'a>
impl<'a> Clone for CreateToolHandleParams<'a>
clone
fn clone(&self) -> CreateToolHandleParams<'a>
clone_from
fn clone_from(&mut self, source: &Self)
impl<'a> Debug for CreateToolHandleParams<'a>
impl<'a> Debug for CreateToolHandleParams<'a>
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result