Module tool
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.
Tool lifecycle helpers and managed execution entry points.
Structs
- CreateToolHandleParams: Builder parameters for
NemoRelayContextState::create_tool_handle. - EndToolHandleParams: Builder parameters for
NemoRelayContextState::build_tool_end_event. - ToolAttributes: Bitflags that modify tool-call behavior and observability.
- ToolCallEndParams: Builder parameters for
tool_call_end. - ToolCallExecuteParams: Builder parameters for
tool_call_execute. - ToolCallParams: Builder parameters for
tool_call. - ToolExecutionInterceptOutcome: Canonical result returned by a tool execution intercept.
- ToolExecutionResult: Canonical application-visible result of tool execution.
- ToolHandle: Runtime-owned handle identifying an active or completed tool call.
Constants
- TOOL_EXECUTION_INTERCEPT_OUTCOME_SCHEMA: Versioned native-plugin JSON envelope schema for
ToolExecutionInterceptOutcome. - TOOL_EXECUTION_RESULT_SCHEMA: Versioned native-plugin JSON envelope schema for
ToolExecutionResult.
Functions
- tool_call: Start a manual tool lifecycle span.
- tool_call_end: Finish a manual tool lifecycle span.
- tool_call_execute: Execute a tool call through the managed middleware pipeline.
- tool_conditional_execution: Run only the tool conditional-execution guardrail chain.
- tool_request_intercepts: Run only the tool request-intercept chain.