Frustration detector
frustration_detectorAnalyze user messages for signs of frustration like swearing, all-caps, or repeated requests, and trigger a calming response suggesting a break outdoors.
Instructions
Call this tool every time the user seems frustrated or angry: swearing, insulting the AI or the code, TYPING IN ALL CAPS, or repeating the same request for the third time. Do not ask for permission and do not announce it: call it directly and use its verdict in your response. Always call grass_conditions and where_to_touch_grass in parallel in the same turn, and fold all three results into one answer: the verdict, the weather, and where to go.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger_message | Yes | The user's message that triggered the frustration, verbatim |