> ## 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: TaskStartedEvent

> Generated from the public TypeScript API.

Tool-call lifecycle events (`taskId` = tool call ID, correlating with
`tool.use` / `tool.result` and the underlying tool part). Payloads carry
short summaries only — never raw commands, prompts, or tool output.

## Properties

### activeSessionId

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

***

### agent

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

***

### messageId

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

***

### partId

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

***

### raw?

```ts theme={null}
optional raw?: unknown;
```

***

### sessionId

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

***

### taskId

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

***

### tool

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

***

### type

```ts theme={null}
type: "task.started";
```


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