Skip to content

Agent Node - Add structured JSON response (similar to LLM Node) #5256

@GG3T

Description

@GG3T

Feature Description

Currently, the Agent Node does not support structured JSON output, unlike the LLM Node.
This makes it harder to work with deterministic outputs for APIs, webhooks, or database integrations, forcing the use of workarounds such as regex, extra nodes, or manual post-processing.

Add an option in the Agent Node for structured JSON responses, with support for schema definition (similar to the LLM Node), allowing:

Define a JSON Schema.

Automatically validate the output.

Expose the parsed JSON in the node’s output.

Benefits:

Easier integrations.

Less need for post-processing.

More reliable and consistent agent responses.

Feature Category

New Node/Component

Problem Statement

No response

Proposed Solution

No response

Mockups or References

No response

Additional Context

No response

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