# ContextDoctorReport

> **Class** in `deepagents_code`

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

Structured context audit ready for presentation.

## Signature

```python
ContextDoctorReport(
    self,
    rows: tuple[ContextDoctorRow, ...],
    injected_tokens: int,
    conversation_tokens: int | None,
    provider_tokens: int | None,
)
```

## Constructors

```python
__init__(
    self,
    rows: tuple[ContextDoctorRow, ...],
    injected_tokens: int,
    conversation_tokens: int | None,
    provider_tokens: int | None,
) -> None
```

| Name | Type |
|------|------|
| `rows` | `tuple[ContextDoctorRow, ...]` |
| `injected_tokens` | `int` |
| `conversation_tokens` | `int \| None` |
| `provider_tokens` | `int \| None` |


## Properties

- `rows`
- `injected_tokens`
- `conversation_tokens`
- `provider_tokens`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/context_doctor.py#L31)