# format_display_path

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/file_ops/format_display_path)

Format a path for display.

## Signature

```python
format_display_path(
    path_str: str | None,
) -> str
```

## Returns

`str`

Formatted path string suitable for display.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a827cddf72d72e4b17921b8eb445a3bfb0511cb4/libs/cli/deepagents_cli/file_ops.py#L152)