# Type Alias ToolOptions<TParameters>

The configuration options for creating a function-based tool. The `name`, `description` and `parameters` fields are used to generate the tool definition that is passed to the LLM prompt.

Note: Unlike Python's ADK, JSDoc on the `execute` function is ignored for tool definition generation.

type ToolOptions<TParameters extends ToolInputParameters> = {
description: string;
execute: ToolExecuteFunction<TParameters>;
isLongRunning?: boolean;
name?: string;
parameters?: TParameters;
}

#### Type Parameters

- TParameters extends ToolInputParameters

- Defined in tools/function_tool.ts:53

## Properties

### description

description: string

- Defined in tools/function_tool.ts:55

### execute

execute: ToolExecuteFunction<TParameters>

- Defined in tools/function_tool.ts:57

### `Optional` isLongRunning

isLongRunning?: boolean

- Defined in tools/function_tool.ts:58

### `Optional` name

name?: string

- Defined in tools/function_tool.ts:54

### `Optional` parameters

parameters?: TParameters

- Defined in tools/function_tool.ts:56