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

# CognitionAcp.HooksListParams

> Parameters for [].

Parameters for \[`HOOKS_LIST_METHOD`].

Deserializes as an untagged union: a payload carrying `sessionId` selects
[`Session`](HooksListParams::Session) mode, while one carrying `cwd` selects
[`Directory`](HooksListParams::Directory) mode. The two are mutually
exclusive; a payload with neither is rejected as `invalid_params`.

```typescript
type HooksListParams = { sessionId: string } | { additionalDirectories: string[]; cwd: string }
```


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