# validate_goal_objective_rendered

> **Function** in `deepagents_code`

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

Reject an objective whose escaped text alone cannot fit a notice.

## Signature

```python
validate_goal_objective_rendered(
    objective: str,
) -> None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `objective` | `str` | Yes | Goal objective proposed by the user, before criteria exist. |

---

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