mediawiki_get_recent_changes
Retrieve recent edits, new pages, and log events across a MediaWiki. Filter by timestamp, namespace, or change type, and group results by user, page, or type.
Instructions
Get recent changes across the entire wiki.
USE WHEN: User asks "what's been changed recently", "show wiki activity", "who's been editing".
NOT FOR: Single page history (use mediawiki_get_revisions). Not for user-specific edits (use mediawiki_get_user_contributions).
PARAMETERS:
limit: Max changes (default 50)
start, end: Time range (ISO 8601)
namespace: Filter by namespace
type: Filter by change type (edit, new, log)
aggregate_by: Group results - "user", "page", or "type"
RETURNS: Recent changes with timestamps, users, and summaries. Aggregation returns counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Upper time bound (ISO 8601). Returns changes on or before this timestamp. | |
| type | No | Filter by type: 'edit', 'new', 'log', or empty for all | |
| limit | No | Maximum changes to return (default 50, max 500) | |
| start | No | Lower time bound (ISO 8601). Returns changes on or after this timestamp. | |
| namespace | No | Filter by namespace (-1 for all) | |
| rationale | No | Optional one-sentence explanation of why you are calling this tool. Used for audit trails when present. | |
| aggregate_by | No | Aggregate results by: 'user', 'page', or 'type'. Returns counts instead of raw changes. Recommended for large result sets. | |
| continue_from | No | Continue token for pagination |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | No | ||
| has_more | Yes | ||
| aggregated | No | ||
| continue_from | No |