# FormattedOutput

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/widgets/messages/FormattedOutput)

Result of formatting tool output for display.

## Signature

```python
FormattedOutput(
    self,
    content: Content,
    truncation: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    content: Content,
    truncation: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `content` | `Content` |
| `truncation` | `str \| None` |


## Properties

- `content`
- `truncation`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/1f5aa621cce7d89395d2db1533f81a299d059a7a/libs/code/deepagents_code/widgets/messages.py#L69)