# Class ToolConfirmation`Experimental`

Represents a tool confirmation configuration. (Experimental, subject to change)

- Defined in tools/tool_confirmation.ts:11

## Constructors

### constructor

- new ToolConfirmation(
  __namedParameters: {
  confirmed: boolean;
  hint?: string;
  payload?: unknown;
  },
  ): ToolConfirmation
  `Experimental`

  #### Parameters

  - __namedParameters: { confirmed: boolean; hint?: string; payload?: unknown }

  #### Returns ToolConfirmation

  - Defined in tools/tool_confirmation.ts:24

## Properties

### `Experimental` confirmed

confirmed: boolean

Whether the tool execution is confirmed.

- Defined in tools/tool_confirmation.ts:16

### `Experimental` hint

hint: string

The hint text for why the input is needed.

- Defined in tools/tool_confirmation.ts:13

### `Optional` `Experimental` payload

payload?: unknown

The custom data payload needed from the user to continue the flow. It should be JSON serializable.

- Defined in tools/tool_confirmation.ts:22