Diff an entity's history
diffRetrieve change history for a codebase entity with prefix matching, newest events first. Each event includes a superseded_by id to trace the sequence of changes.
Instructions
Get change history for a codebase entity, newest first.
Supports prefix matching — e.g. 'users' returns all events for the users
table and any users.* column. Each event carries a derived
superseded_by id ("" when nothing overrode it), so the
tried → reverted → re-opened trail reads straight off the history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return. | |
| entity_path | Yes | Entity path or path prefix. Prefix matching is supported: 'users' returns history for the users table AND all its columns ('users.email', 'users.created_at', etc.). Use a more specific path to narrow the result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |