stack kb agent-builder post-agent-builder-tools cli command
Auth required
elastic stack kb agent-builder post-agent-builder-tools \
--configuration <configuration> \
--id <id> \
--type <type> \
[options]
Create a tool
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--configurationstringrequired- Tool-specific configuration parameters. See examples for details.
--idstringrequired- Unique identifier for the tool.
--typeenumrequired-
The type of tool to create (e.g., esql, index_search).
Values: esql, index_search, workflow, mcp
--confirmationstring- Optional tool call policy to control tool call confirmation behavior
--descriptionstring- Description of what the tool does.
-
Optional tags for categorizing and organizing tools.
Repeatable: pass
--tagsmultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON