> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: ToolContext

> Generated from the public TypeScript API.

Identity and cancellation context for a caller-side tool, resource or prompt callback.

## Properties

### rootSessionId?

```ts theme={null}
optional rootSessionId?: string;
```

***

### sessionId

```ts theme={null}
sessionId: string;
```

***

### signal

```ts theme={null}
signal: AbortSignal;
```

***

### toolCallId?

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.