#29593 [Bug]: Generic Guardrail API should extract and redact tool result content in Anthropic messages
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
#### What happened?
When using the Generic Guardrail API with Anthropic-format messages, **tool result content is silently skipped** during text extraction. This means file contents, API responses, and other data returned by tools (e.g., MCP file reads, API calls) bypass guardrail scanning entirely.
#### Root Cause
In `litellm/llms/anthropic/chat/guardrail_translation/handler.py`, the `_extract_input_text_and_images()` method extracts text from list content blocks by looking for `content_item.get("text")`:
```python elif content is not None and isinstance(content, list): for content_idx, content_item in enumerate(content): text_str = content_item.get("text", None) # ← only looks for "text" key ``` However, Anthropic tool result blocks use "content" instead of "text": ``` { "role": "user", "content": [ { "type": "tool_result", "tool_use_id": "toolu_abc123", "content": "export OPENAI_API_KEY=sk-abc123..." } ] } ``` Since content_item.get("text") returns None for tool result blocks…