{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/mcp-servers\/mcp-contracts\/tools\/contract_tools\/contract_reporter.py",
"offset": 70,
"limit": 25
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/mcp-servers\/mcp-contracts\/tools\/contract_tools\/contract_reporter.py",
"content": " Returns:\n Operation result dictionary\n \"\"\"\n start = time.time()\n\n try:\n result = operation()\n duration = int((time.time() - start) * 1000)\n\n # Log success\n self.log_operation(\n tool_name=tool_name,\n request_data=request_data,\n status=LOG_STATUS_SUCCESS,\n duration_ms=duration\n )\n\n return result\n\n except Exception as e:\n duration = int((time.time() - start) * 1000)\n\n # Log error\n self.log_operation(\n tool_name=tool_name,",
"numLines": 25,
"startLine": 70,
"totalLines": 184
}
}
}