List logged changes and write calls
list_actionsLists local action log newest first, including mailbox changes, approval runs, and write-call audits, to find log IDs for undo, check uncertain writes, or see what changed and when.
Instructions
List the local action log, newest first: logged mailbox changes with their log_ids, approval runs and the audit of write calls; reads no mail and changes nothing.
Use it to find the log_id for undo_action(log_id), to check what a write did before retrying one whose outcome is uncertain, or to answer what changed and when. Filter by the token of one approval, a time range, an action or a client; no filter lists the latest entries.
action filters by one write tool (move finds move_to_trash, archive and move_to_folder; set_read_state, label and reindex likewise), one of those exact actions or preview_action; client_name by an MCP client. Lookup never returns tokens or their digests.
Returns actions and truncated; once records exist also audit, audit_truncated, runs and runs_truncated. Each actions entry has one log_id; each runs entry has a log_ids list, including zero or one chunk; all IDs are 32 lowercase hexadecimal characters. Linked runs include approved_total, done, uncertain, remaining and status: a completed chunk does not imply a completed approval, and a missing run end reads as interrupted. audit lists write calls with their outcome, counts, action_hash and client, naming the exact action of a merged tool's call. Move, archive, draft deletion and unsubscribe preview records appear in actions with their log_id, counts and preview status. Unsubscribe actions with pending_send rows include the draft_ids of the mailto drafts they saved, without recipients, subject or body. Reindex records include run metadata and undoable=false; draft deletion, reindex and preview records cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Entries per list, 1 to 200. | |
| since | No | Earliest time, inclusive: a timezone-aware ISO timestamp, or YYYY-MM-DD for the start of that day in the server's local timezone. | |
| token | No | Only records of this confirmation token. | |
| action | No | Only this write tool, one exact action of a merged tool such as archive, or preview_action. | |
| before | No | Latest time, exclusive: a timezone-aware ISO timestamp, or YYYY-MM-DD to include all of that day in the server's local timezone. | |
| client_name | No | Only calls from this MCP client name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||