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

# ToolSpanOptions

***

# Interface: ToolSpanOptions

Defined in: [src/types/logging/span.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/span.types.ts)

## Extends

* `Omit`\<[`BaseSpanOptions`](/sdk-api/typescript/reference/types/interfaces/BaseSpanOptions), `"input"` | `"redactedInput"` | `"output"` | `"redactedOutput"`>

## Properties

### createdAt?

```ts theme={null}
optional createdAt: Date;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.createdAt;
```

***

### datasetInput?

```ts theme={null}
optional datasetInput: string;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.datasetInput;
```

***

### datasetMetadata?

```ts theme={null}
optional datasetMetadata: Record<string, string>;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.datasetMetadata;
```

***

### datasetOutput?

```ts theme={null}
optional datasetOutput: string;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.datasetOutput;
```

***

### externalId?

```ts theme={null}
optional externalId: string;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.externalId;
```

***

### id?

```ts theme={null}
optional id: string;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.id;
```

***

### input

```ts theme={null}
input: JsonValue;
```

Defined in: [src/types/logging/span.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/span.types.ts)

***

### metadata?

```ts theme={null}
optional metadata: Record<string, string>;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.metadata;
```

***

### metrics?

```ts theme={null}
optional metrics: Metrics;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.metrics;
```

***

### name?

```ts theme={null}
optional name: string;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.name;
```

***

### output?

```ts theme={null}
optional output: JsonValue;
```

Defined in: [src/types/logging/span.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/span.types.ts)

***

### redactedInput?

```ts theme={null}
optional redactedInput: JsonValue;
```

Defined in: [src/types/logging/span.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/span.types.ts)

***

### redactedOutput?

```ts theme={null}
optional redactedOutput: JsonValue;
```

Defined in: [src/types/logging/span.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/span.types.ts)

***

### statusCode?

```ts theme={null}
optional statusCode: number;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.statusCode;
```

***

### stepNumber?

```ts theme={null}
optional stepNumber: number;
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.stepNumber;
```

***

### tags?

```ts theme={null}
optional tags: string[];
```

Defined in: [src/types/logging/step.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/step.types.ts)

#### Inherited from

```ts theme={null}
Omit.tags;
```

***

### toolCallId?

```ts theme={null}
optional toolCallId: string;
```

Defined in: [src/types/logging/span.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/logging/span.types.ts)
