Skip to content

FEATURE REQ: Interrupt structured response format #6531

@casparb

Description

@casparb

Privileged issue

  • I am a LangGraph maintainer, or was asked directly by a LangGraph maintainer to create an issue here.

Issue Content

When interrupting with interrupt(value: str), users should be able to specify an InputSchema that enforces the format the interrupt can be resumed with.

Expected behaviors:

  • If a resume map is provided and the response format does not match InputSchema, re-raise the interrupt
  • If a null resume is provided and there is one pending interrupt, and the response format does not match, re-raise the interrupt
  • If the response format does match InputSchema, resume the interrupt

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions