Get Persons
get_personsSearch for persons (users) in a PostHog project. Returns user profiles with properties. Example: get_persons({ project_id: "12345", search: "john@example.com", apiKey: "phx..." })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"search": "john@example.com",
"_apiKey": "your-posthog-api-key",
"project_id": "12345"
},
"name": "get_persons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Optional search query to filter persons by email, name, or distinct ID | |
| _apiKey | Yes | PostHog personal API key (phx_...) | |
| project_id | Yes | PostHog project ID (numeric string) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||