Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
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>,
}
Builder parameters for tool_call_execute.
name: StringTool name recorded on emitted lifecycle events.
args: JsonRaw tool arguments passed into the managed pipeline.
func: ToolExecutionNextFnTool callback or execution continuation.
parent: Option<ScopeHandle>Optional explicit parent scope for the emitted tool span.
attributes: ToolAttributesTool 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.
impl ToolCallExecuteParamsimpl ToolCallExecuteParams
builderpub fn builder() -> ToolCallExecuteParamsBuilder<((), (), (), (), (), (), ())>
Create a builder for building ToolCallExecuteParams. On the builder, call .name(...), .args(...), .func(...), .parent(...)(optional), .attributes(...)(optional), .data(...)(optional), .metadata(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of ToolCallExecuteParams.