# tool_output

> **Function** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_converters/_utils/tool_output)

Preserve Responses-native tool attachments instead of extracting only text.

## Signature

```python
tool_output(
    content: Any,
) -> Any
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `content` | `Any` | Yes | Model-visible tool content, excluding application artifacts. |

## Returns

`Any`

Text for text-only results, or ordered Responses text/image/file parts.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/b3723d62c412c24d2d57566023c05c545b652677/libs/azure-ai/langchain_azure_ai/agents/hosting/_converters/_utils.py#L71)