# GoalToolState

> **Class** in `deepagents_code`

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

State fields used by goal tools.

Inherits the shared `_goal_*`/`_sticky_rubric` channels (with their
`PrivateStateAttr` markers) from `GoalRubricChannels`, so the goal tools and
`ResumeState` cannot drift apart. Adds only the public `rubric` graph input,
which is intentionally non-private — it is the `RubricMiddleware` input.

## Signature

```python
GoalToolState()
```

## Extends

- `GoalRubricChannels`

## Properties

- `rubric`

---

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