List visitors
list_peopleVisitors seen in the range; sortable by name, visits, timestamps, recorded total time, revenue and profile fields: name (or a friendly name like amber-fox-4821), identity, first source, place, visits, total_time_seconds and revenue. Visits, time and revenue are all-time totals. filter=customers for payers, identified for signed-in users; q searches email or name, or matches an exact visitor id or user id. filters narrows to people with at least one visit in the range that matches every filter (as on the dashboard).
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_people"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| to | No | Last day, inclusive (YYYY-MM-DD). | |
| from | No | First day (YYYY-MM-DD, site time zone). Use with to instead of period. | |
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| sort | No | ||
| limit | No | Default 20. | |
| cursor | No | Use nextCursor from the preceding response with the same range, filters and sort. | |
| filter | No | ||
| offset | No | ||
| period | No | Time range. Default 30d. today, yesterday, 24h, 7d, 30d, 90d, 12m, wtd, mtd, ytd, all. | |
| filters | No | Only visits that match every filter. A value is "is": {"country": "US"}; a list is "is any of": {"country": ["PT", "ES"]}; an object picks the operator: {"page": {"contains": "/blog"}}, {"channel": {"is_not": ["Direct", "Email"]}}, {"page": {"not_contains": "/admin"}}. Operators: is, is_not, contains, not_contains (case-insensitive). "visitor" is "new" or "returning". "ad" is an ad campaign as "google:<campaign id>" or "meta:<campaign id>" (the visits that the Ads page counts for it). Use "(none)" for empty values; countries take ISO codes or English names. | |
| sort_dir | No |