get_recent_activity
List the most recent discussion facts from a channel, ordered newest first. Optionally filter by topic for time-bounded queries.
Instructions
List the most RECENT facts from one channel, newest first, optionally scoped to a topic. Call it for time-bounded "what happened lately" questions.
When to use: "what's been discussed in this channel this week", "what happened with topic X in the last N days". When NOT to use: search not bounded by recency (use search_channel_facts); a synthesized answer or reasoning across the items (use ask_channel).
Prerequisites: a channel_id from list_channels.
Returns (instant, read-only): {activity: [{text, author, timestamp, channel_id, topic_tags, fact_id}, ...]} sorted by timestamp descending.
No side effects.
Error modes (returned as dicts): 'authentication_missing' (no principal);
'channel_access_denied' (token lacks access to channel_id). Other internal
failures return an empty {activity: []}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel id. Get it from list_channels (e.g. 'ch-eng'). Required. | |
| days | No | Look-back window in days, 1-90 (out-of-range values are clamped). Default 7. | |
| topic | No | Optional topic filter (e.g. 'deployment'); keeps only facts tagged with that topic. Omit for all topics. Default null. | |
| limit | No | Max activity items, 1-50 (out-of-range values are clamped). Default 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||