(invocation: ToolInvocation)
| 353 | excluded_tool_called = False |
| 354 | |
| 355 | def allowed_handler(invocation: ToolInvocation) -> ToolResult: |
| 356 | input_val = (invocation.arguments or {}).get("input", "") |
| 357 | return ToolResult(text_result_for_llm=f"ALLOWED_{input_val.upper()}") |
| 358 | |
| 359 | def excluded_handler(invocation: ToolInvocation) -> ToolResult: |
| 360 | nonlocal excluded_tool_called |
nothing calls this directly
no test coverage detected