Skip to content

Fix workflows docs: rename outputSchema to schema and add schema to ai.agent#5630

Merged
leemthompo merged 1 commit into
elastic:mainfrom
talboren:fix/workflows-schema-rename-5614
Mar 26, 2026
Merged

Fix workflows docs: rename outputSchema to schema and add schema to ai.agent#5630
leemthompo merged 1 commit into
elastic:mainfrom
talboren:fix/workflows-schema-rename-5614

Conversation

@talboren

Copy link
Copy Markdown
Contributor

Summary

Fixes two documentation issues flagged by community feedback:

  1. outputSchemaschema rename in ai-steps.md: The outputSchema parameter was renamed to schema in the product, but the docs still referenced the old name in the parameters table, output structure comment, example text, and YAML example.
  2. Missing schema parameter in ai.agent docs: The ai.agent step in agents-and-workflows.md did not document the schema input parameter. Added it to the step instructions and a new parameters table.

Pages affected

Closes #5614

Made with Cursor

…i.agent

- Rename `outputSchema` to `schema` in ai-steps.md (parameter table, output
  structure comment, example description, and YAML example)
- Add `schema` parameter documentation to the `ai.agent` step in
  agents-and-workflows.md (step instructions, parameters table)

Closes elastic#5614

Made-with: Cursor

@leemthompo leemthompo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Thanks @talboren

@leemthompo
leemthompo merged commit cd017c0 into elastic:main Mar 26, 2026
7 checks passed
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.

[Workflows] outputSchema renamed to schema + missing schema input in ai.agent docs

2 participants