> ## 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.RulesListParams

> Parameters for [].

Parameters for \[`RULES_LIST_METHOD`].

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

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


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