| Name | Type |
|---|---|
| model | str | None |
| model_params | dict[str, Any] |
| profile_overrides | dict[str, Any] |
| model_context_limit | int | None |
| classifier_model | str | None |
| approval_mode | str |
| auto_approve | bool |
| approval_mode_key | str | None |
| thread_id | str | None |
| turn_id | str | None |
| offload_tool_call_id | str | None |
| hooks_snapshot_id | str | None |
| hooks_server_events | list[str] |
| prompt_id | str | None |
Declared context_schema for the agent graph.
Registered via context_schema= when the graph is built, so LangGraph
coerces each run's context= payload into this dataclass — in-process,
runtime.context is a CLIContextSchema instance.
It exists alongside CLIContext (below) because the payload is shaped
differently on each side of the API boundary: in-process it is coerced to
this dataclass, but over the LangGraph API server (RemoteGraph) it is
serialized to JSON and arrives as a plain dict. Consumers
(configurable_model._get_context, _should_interrupt_tool_call)
therefore accept both shapes. CLIContext is the client-facing builder for
constructing that payload.
Fields mirror CLIContext; see its per-field docstrings for semantics.