diana_command_log
Review DianaIE session command history, including GUI clicks, exact Python calls, plain-language descriptions, sources, and undo/redo details; filter by text or source and inspect earlier sessions.
Instructions
DianaIE's command history: every command of a DianaIE session, GUI clicks included, as the exact Python call with a plain-language description, who ran it (user = GUI or command console, ai = this server's bridge, unknown = no bridge journal) and, for undo/redo, what it reverted (undone steps are marked).
Works without a bridge and for earlier sessions. To learn the exact call behind a GUI action, ask the user to do it once and read it here. For "what did the user change since I last looked" use diana_changes instead.
Args: lines: number of entries to return, counted from the end. find: only entries whose call or description contains this text (case-insensitive). session: an earlier session's history file or its key (IEhistory_yymmdd_hhmmss, see list_sessions); default the DianaIE being tracked (the bridge's, else a running one, else the newest). edits_only: leave out views, result plots, queries and reports. source: only the user's or only the AI's commands. list_sessions: list the DianaIE sessions on disk (start time, running or not, projects opened) instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "diana_command_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | No | ||
| lines | No | ||
| source | No | all | |
| session | No | ||
| edits_only | No | ||
| list_sessions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||