Module tool
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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.
Managed and manual tool calls.
Structs
- 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. - ToolExecutionContext: Transport-independent input supplied to a plugin tool execution interceptor.
- 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.