Skip to content

Comments

feat: AI agent function#1318

Merged
cjbell merged 6 commits intomainfrom
cb-ai-agent-function
Feb 19, 2026
Merged

feat: AI agent function#1318
cjbell merged 6 commits intomainfrom
cb-ai-agent-function

Conversation

@cjbell
Copy link
Contributor

@cjbell cjbell commented Feb 18, 2026

Description

AI agent function (beta) docs

@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 18, 2026 9:31pm

Request Review

Copy link
Contributor

@samseely samseely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment on response format and then I also made some updates locally and pushed up.


By default, the AI agent returns a single string response available as `data.<step_ref>.text`.

You can set the response format to **JSON** when you need structured output for use in templates or [branch steps](/designing-workflows/branch-function). When using JSON format, you must supply a JSON schema for the shape of the data that you'd like the AI agent to fill in.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be helpful to include a code example of a JSON schema here? I know we have it in prompt library but just in case someone goes looking for it here.

@cjbell cjbell merged commit 53a9ae5 into main Feb 19, 2026
5 checks passed
@cjbell cjbell deleted the cb-ai-agent-function branch February 19, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants