> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-drtangible-wip-test-inline-tag.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ToolInit

> TypeScript SDK reference

Defined in: [src/genai/tool.ts:18](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/tool.ts#L18)

## Extends

* `SpanInitBase`

## Properties

### args

> `optional` **args**: `string` | [`JsonObject`](../type-aliases/jsonobject)

A JSON object, or a pre-serialized string recorded as-is.

Defined in: [src/genai/tool.ts:21](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/tool.ts#L21)

***

### name

> **name**: `string`

Defined in: [src/genai/tool.ts:19](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/tool.ts#L19)

***

### startTime

> `optional` **startTime**: `TimeInput`

Defined in: [src/genai/spanBase.ts:17](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/spanBase.ts#L17)

#### Inherited from

`SpanInitBase.startTime`

***

### toolCallId

> `optional` **toolCallId**: `string`

Defined in: [src/genai/tool.ts:22](https://github.com/wandb/weave/blob/7c9efdc9fe05ffcaf2430dd652ef9bc5b3ffdfaa/sdks/node/src/genai/tool.ts#L22)
