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

> Generated from the public TypeScript API.

Structured result shape (mirrors Claude Code hook JSON).

## Properties

### additionalContext?

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

***

### continue?

```ts theme={null}
optional continue?: boolean;
```

***

### customInstructions?

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

Honored by `PreCompact`; multiple hook values are joined with blank lines.

***

### initialUserMessage?

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

***

### permissionDecision?

```ts theme={null}
optional permissionDecision?:
  | "allow"
  | "deny"
  | "ask"
  | PermissionDecision;
```

***

### stopReason?

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

***

### systemMessage?

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

***

### updatedInput?

```ts theme={null}
optional updatedInput?: Record<string, unknown>;
```

***

### updatedToolOutput?

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

***

### watchPaths?

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

Reserved for future compatibility; no watcher effect in v2.


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