Track a single filesystem tool call.
FileOperationRecord(
self,
tool_name: str,
display_path: str,
physical_path: Path | None,
tool_call_id: str | None,
args: dict[str, Any] = dict(),
status: FileOpStatus = 'pending',
error: str | None = None,
metrics: FileOpMetrics = FileOpMetrics(),
diff: str | None = None,
before_content: str | None = None,
after_content: str | None = None,
read_output: str | None = None,
hitl_approved: bool = False
)