Get AllTrails activity feed
alltrails_get_activity_feedRetrieve an AllTrails user's activity feed to view hikes and posts, then select local, timeline, or personal feeds, paginate, and choose compact, full, or brief output.
Instructions
Get an AllTrails user's activity feed (recorded hikes and posts). Defaults to the signed-in user; pass a userId to target a specific public profile. Without a feed argument this returns the feed DIRECTORY (the available feeds: local, timeline (following), personal (own posts)) — pass feed to get the actual items. Returns slim projections by default; pass view:"full" for the whole records, or view:"brief" for one line per item (brief reads the timeline when no feed is named).
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": "alltrails_get_activity_feed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feed | No | Which feed to read: local (nearby activity), timeline (people you follow), personal (own posts). Omit to list the available feeds. | |
| view | No | Response shape. "compact" (default) returns { count, hasNextPage, nextCursor, items: [{ type, timestamp, description, user, trail, activity, review }] } — and the no-feed directory as { name, displayName } per feed; "full" returns AllTrails' whole records; "brief" returns one line per item, "who: what — <ISO date or no date> — <recorded|reviewed|…>", inside the untrusted-data envelope as data: string[], with "-- none" / "-- more" note lines for an empty page or another page, and reads the timeline (people you follow) when no feed is named. | |
| cursor | No | Opaque nextCursor from a previous page, for pagination | |
| userId | No | Numeric AllTrails user id. Defaults to the signed-in user. | |
| maxItems | No | Max items per page (server-side) |