# ExecuteResponse

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/backends/protocol/ExecuteResponse)

Result of code execution.

Simplified schema optimized for LLM consumption.

## Signature

```python
ExecuteResponse(
    self,
    output: str,
    exit_code: int | None = None,
    truncated: bool = False,
)
```

## Constructors

```python
__init__(
    self,
    output: str,
    exit_code: int | None = None,
    truncated: bool = False,
) -> None
```

| Name | Type |
|------|------|
| `output` | `str` |
| `exit_code` | `int \| None` |
| `truncated` | `bool` |


## Properties

- `output`
- `exit_code`
- `truncated`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/bb27e62ebe44dd6e8104a504b1718ce87acc7ffa/libs/deepagents/deepagents/backends/protocol.py#L710)