# join_content

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/workspace_diagnostics/join_content)

Join `Content` lines with newlines (`Content.join` is instance-level).

## Signature

```python
join_content(
    lines: Sequence[Content],
) -> Content
```

## Returns

`Content`

One `Content` with each line on its own row.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/workspace_diagnostics.py#L379)