{
"event": "PreToolUse",
"tool_name": "Grep",
"tool_input": {
"pattern": "getSystemPrompt|system_prompt\"",
"path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Chat\/SendChatMessageUseCase.php",
"output_mode": "content",
"-B": 2,
"-A": 5,
"-n": true
}
}
{
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "85-\n86- \/\/ 6. Get system prompt\n87: $systemPrompt = $this->getSystemPromptById($systemPromptId);\n88-\n89- \/\/ 6b. Add structure formatting if selected\n90- $structurePrompt = $this->getStructurePrompt($structureId);\n91- if ($structurePrompt !== null) {\n92- $systemPrompt = ($systemPrompt ?? '') . \"\\n\\n\" . $structurePrompt;\n--\n227- * Get system prompt by ID\n228- *\/\n229: private function getSystemPromptById(int $promptId): ?string\n230- {\n231- if ($promptId === 0) {\n232- return null;\n233- }\n234-",
"numLines": 17
}
}