> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ToolInput

> The input type tool T takes, read from the TapToolMap augmentation.

```ts theme={null}
type ToolInput<T> = T extends keyof TapToolMap ? TapToolMap[T] extends {
  input: infer I;
} ? I : unknown : unknown;
```

The input type tool `T` takes, read from the `TapToolMap` augmentation.

## Type Parameters

### T

`T` *extends* [`ToolId`](/extensions/reference/server-api/TypeAlias.ToolId)
