{"record":{"id":"772a1cde96b1ac52","repo":"langchain-ai/langgraph","slug":"output-is-deprecated-and-will-be-removed-please","errorCode":null,"errorMessage":"`output` is deprecated and will be removed. Please use `output_schema` instead.","messagePattern":"`output` is deprecated and will be removed\\. Please use `output_schema` instead\\.","errorType":"console","errorClass":"LangGraphDeprecatedSinceV05","httpStatus":null,"severity":"error","filePath":"libs/langgraph/langgraph/graph/state.py","lineNumber":244,"sourceCode":"            warnings.warn(\n                \"`config_schema` is deprecated and will be removed. Please use `context_schema` instead.\",\n                category=LangGraphDeprecatedSinceV10,\n                stacklevel=2,\n            )\n            if context_schema is None:\n                context_schema = cast(type[ContextT], config_schema)\n\n        if (input_ := kwargs.get(\"input\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`input` is deprecated and will be removed. Please use `input_schema` instead.\",\n                category=LangGraphDeprecatedSinceV05,\n                stacklevel=2,\n            )\n            if input_schema is None:\n                input_schema = cast(type[InputT], input_)\n\n        if (output := kwargs.get(\"output\", MISSING)) is not MISSING:\n            warnings.warn(\n                \"`output` is deprecated and will be removed. Please use `output_schema` instead.\",\n                category=LangGraphDeprecatedSinceV05,\n                stacklevel=2,\n            )\n            if output_schema is None:\n                output_schema = cast(type[OutputT], output)\n\n        self.nodes = {}\n        self.edges = set()\n        self.branches = defaultdict(dict)\n        self.schemas = {}\n        self.channels = {}\n        self.managed = {}\n        self.compiled = False\n        self.waiting_edges = set()\n\n        self.state_schema = state_schema\n        self.input_schema = cast(type[InputT], input_schema or state_schema)","sourceCodeStart":226,"sourceCodeEnd":262,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/langgraph/langgraph/graph/state.py#L226-L262","documentation":"Error \"`output` is deprecated and will be removed. Please use `output_schema` instead.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/langgraph/langgraph/graph/state.py:244 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}