# clean_body

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/office365/utils/clean_body)

Clean body of a message or event.

## Signature

```python
clean_body(
    body: str,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/tools/office365/utils.py#L15)