mavis_session_log
Read agent run traces from saved session logs to debug, audit, or post-mortem past mavis_coder_agent runs. Actions: list, get, tail, clear.
Instructions
Read agent run traces persisted to ~/.mavis-mcp/agent-sessions/. Actions: list (recent sessions), get (full session by id/file), tail (last N events of a session), clear (delete sessions older than N days). Use to debug, audit, or post-mortem past mavis_coder_agent runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | For action=list: max sessions to return. Default 20. | |
| action | Yes | What to do with the session log. | |
| tail_n | No | For action=tail: how many most recent events to return. Default 5. | |
| session_id | No | Session id (UUID) or filename. Required for get and tail. | |
| max_age_days | No | For action=clear: delete sessions older than this. Default 30. |