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

# ToolCallError

Defined in: [client/client.ts:40](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/client.ts#L40)

## Extends

* `Error`

## Constructors

### Constructor

```ts theme={null}
new ToolCallError(message, content): ToolCallError;
```

Defined in: [client/client.ts:43](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/client.ts#L43)

#### Parameters

##### message

`string`

##### content

`ContentBlock`\[]

#### Returns

`ToolCallError`

#### Overrides

```ts theme={null}
Error.constructor
```

## Properties

### content

```ts theme={null}
readonly content: ContentBlock[];
```

Defined in: [client/client.ts:41](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/client.ts#L41)
