Skip to content

Fix ai.agent step parameter placement in agents-and-workflows#7289

Open
leemthompo wants to merge 1 commit into
mainfrom
fix-ai-agent-param-placement
Open

Fix ai.agent step parameter placement in agents-and-workflows#7289
leemthompo wants to merge 1 commit into
mainfrom
fix-ai-agent-param-placement

Conversation

@leemthompo

Copy link
Copy Markdown
Member

Fixes an inaccuracy in the ai.agent workflow step documentation on the Agent Builder overview page.

Problem

explore-analyze/ai-features/agent-builder/agents-and-workflows.md showed agent_id inside the step's with block with underscore naming, and scoped its parameters table to "the with block". That is wrong.

Per the source of truth (elastic/kibana x-pack/platform/plugins/shared/agent_builder/common/step_types/run_agent_step.ts):

  • Top-level config keys are hyphenated: agent-id, connector-id, inference-id, create-conversation.
  • with block inputs are underscored: message, schema, conversation_id, attachments.

The canonical ai.agent reference already gets this right; this change brings the overview page in line with it.

Changes

  • Correct the how-to steps, the YAML example, and the annotation callout to place agent-id at the top level of the step with hyphenated naming.
  • Rework the parameters table with a Location column, add connector-id / inference-id (model routing, mutually exclusive), create-conversation, conversation_id, and attachments, and link to the canonical reference.

Related

🤖 Generated with Claude Code

The ai.agent step config keys (agent-id, connector-id, inference-id,
create-conversation) are hyphenated and set at the top level of the
step, not inside the with block. The overview page incorrectly showed
agent_id under with with underscore naming. Correct the how-to steps,
YAML example, and parameters table to match run_agent_step.ts and the
canonical ai-steps.md reference, and document connector-id / inference-id
model routing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

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.

1 participant