list_cohorts
List all PostHog cohorts in a project, showing name, type, person count, and creation date. Optionally filter by search query and limit results.
Instructions
List all PostHog cohorts in the project. Shows name, type, person count, and creation date.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_cohorts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max cohorts to return (default 100) | |
| search | No | Search query to filter cohorts by name |