Struct Tool Call Execute Params
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.
pub struct ToolCallExecuteParams {
pub name: String,
pub args: Json,
pub func: ToolExecutionNextFn,
pub parent: Option<ScopeHandle>,
pub attributes: ToolAttributes,
pub data: Option<Json>,
pub metadata: Option<Json>,
pub tool_call_id: Option<String>,
}
Builder parameters for tool_call_execute.
Fields
name: String
Tool name recorded on emitted lifecycle events.
args: Json
Raw tool arguments passed into the managed pipeline.
func: ToolExecutionNextFn
Tool callback or execution continuation.
parent: Option<ScopeHandle>
Optional explicit parent scope for the emitted tool span.
attributes: ToolAttributes
Tool attribute bitflags applied to the managed span.
data: Option<Json>
Optional application payload stored on the handle but not emitted as Agent Trajectory Observability Format (ATOF) data.
metadata: Option<Json>
Optional JSON metadata recorded on emitted events.
tool_call_id: Option<String>
Optional provider-specific correlation identifier.
Implementations
impl ToolCallExecuteParams
impl ToolCallExecuteParams
builder
pub fn builder() -> ToolCallExecuteParamsBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building ToolCallExecuteParams. On the builder, call .name(...), .args(...), .func(...), .parent(...)(optional), .attributes(...)(optional), .data(...)(optional), .metadata(...)(optional), .tool_call_id(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of ToolCallExecuteParams.