{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cd \/var\/www\/campus.systemische-tools.de && REQUEST_URI=\"\/api\/v1\/chat\" REQUEST_METHOD=\"POST\" CONTENT_TYPE=\"application\/json\" php -r '\n$_SERVER[\"REQUEST_URI\"] = \"\/api\/v1\/chat\";\n$_SERVER[\"REQUEST_METHOD\"] = \"POST\";\n$_SERVER[\"CONTENT_TYPE\"] = \"application\/json\";\nfile_put_contents(\"php:\/\/input\", json_encode([\"message\" => \"Test\", \"session_id\" => \"test123\"]));\nrequire \"public\/index.php\";\n' 2>&1 | head -50",
"description": "Test API via PHP CLI on production"
}
}