> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Tool Execution Intercept Outcome

> Canonical result returned by a tool execution intercept.

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`.

<pre />

Canonical result returned by a tool execution intercept.

`result` is passed to the remaining middleware and application. `pending_marks` are Relay-owned lifecycle metadata retained separately and emitted after the tool-end event; they are not included in the application-visible result.

## Fields

### `result: Value`

Tool result returned to the remaining middleware and application.

### `pending_marks: Vec<PendingMarkSpec>`

Ordered marks for the managed tool lifecycle owner to emit.

## Implementations

### `impl ToolExecutionInterceptOutcome`

<pre />

#### `new`

<pre />

Create an outcome without pending marks.

#### `with_pending_mark`

<pre />

Append one pending mark while preserving callback order.

## Trait Implementations

### `impl Clone for ToolExecutionInterceptOutcome`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for ToolExecutionInterceptOutcome`

<pre />

#### `fmt`

<pre />

### `impl<'de> Deserialize<'de> for ToolExecutionInterceptOutcome`

<pre />

#### `deserialize`

<pre />

### `impl From<Value> for ToolExecutionInterceptOutcome`

<pre />

#### `from`

<pre />

### `impl PartialEq for ToolExecutionInterceptOutcome`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for ToolExecutionInterceptOutcome`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for ToolExecutionInterceptOutcome`

<pre />