# truncate_execute_command_for_display

> **Function** in `deepagents_acp`

📖 [View in docs](https://reference.langchain.com/python/deepagents-acp/utils/truncate_execute_command_for_display)

Truncate a command string to a maximum length for display.

## Signature

```python
truncate_execute_command_for_display(
    command: str,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0b13f3e0e2726fdb7bbe1e0cf88dac76dbd43b01/libs/acp/deepagents_acp/utils.py#L330)