> 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 Create Tool Handle Params

> Builder parameters for `NemoRelayContextState::create_tool_handle`.

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 />

Builder parameters for [`NemoRelayContextState::create_tool_handle`](/reference/api/rust-library-reference/nemo-relay/api/runtime/state/struct-nemorelaycontextstate).

## Fields

### `name: &'a str`

Tool name recorded on emitted events.

### `parent_uuid: Option<Uuid>`

Optional parent scope UUID.

### `attributes: ToolAttributes`

Tool attribute bitflags.

### `data: Option<Json>`

Optional application payload stored on the handle.

### `metadata: Option<Json>`

Optional metadata stored on the handle.

### `tool_call_id: Option<String>`

Optional provider-specific correlation identifier.

### `timestamp: Option<DateTime<Utc>>`

Optional timestamp captured as the handle start time and reused by the emitted start event. When omitted, the current UTC time is used.

## Implementations

### `impl<'a> CreateToolHandleParams<'a>`

<pre />

#### `builder`

<pre />

Create a builder for building `CreateToolHandleParams`. On the builder, call `.name(...)`, `.parent_uuid(...)`(optional), `.attributes(...)`(optional), `.data(...)`(optional), `.metadata(...)`(optional), `.tool_call_id(...)`(optional), `.timestamp(...)`(optional) to set the values of the fields. Finally, call `.build()` to create the instance of `CreateToolHandleParams`.

## Trait Implementations

### `impl<'a> Clone for CreateToolHandleParams<'a>`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl<'a> Debug for CreateToolHandleParams<'a>`

<pre />

#### `fmt`

<pre />