{
"event": "PostToolUse",
"raw_data": {
"session_id": "18ef5bf3-e872-4052-897e-53d6dc45b0b9",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/18ef5bf3-e872-4052-897e-53d6dc45b0b9.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de\/src",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Formatter\/ApiResponseFormatter.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Formatter\/ApiResponseFormatter.php",
"content": "<?php\n\nnamespace Infrastructure\\Formatter;\n\n\/**\n * Formats API responses with a consistent structure.\n *\n * Success response:\n * {\n * \"success\": true,\n * \"data\": {...},\n * \"message\": \"optional message\",\n * \"meta\": {\"timestamp\": \"...\", \"count\": N}\n * }\n *\n * Error response:\n * {\n * \"success\": false,\n * \"error\": \"error message\",\n * \"code\": \"ERROR_CODE\",\n * \"details\": {...}\n * }\n *\/\nfinal class ApiResponseFormatter\n{",
"numLines": 25,
"startLine": 1,
"totalLines": 143
}
},
"tool_use_id": "toolu_016cmXTge91eFkKawMasjSat"
}
}