# NoticeTextSections

> **Class** in `deepagents_code`

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

The three user-controlled text sections a goal-state notice can embed.

Named rather than a bare `tuple[str | None, str | None, str | None]`: all five
call sites unpack positionally and immediately re-pass the parts as keyword
arguments to `validate_goal_notice_text`, where swapping two of them
type-checks cleanly and would validate the wrong text against the wrong
budget. Tuple unpacking still works, so the field names cost nothing.

## Signature

```python
NoticeTextSections()
```

## Extends

- `NamedTuple`

## Properties

- `objective`
- `criteria`
- `status_note`

---

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