{
"event": "PreToolUse",
"tool_name": "Grep",
"tool_input": {
"pattern": "function getJsonInput",
"path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Framework\/Controller.php",
"output_mode": "content",
"-A": 8
}
}
{
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "75: protected function getJsonInput(): array\n76- {\n77- $input = file_get_contents('php:\/\/input');\n78- if ($input === false || $input === '') {\n79- return [];\n80- }\n81-\n82- $decoded = json_decode($input, true);\n83- if (!is_array($decoded)) {",
"numLines": 9
}
}