stack kb agent-builder post-agent-builder-tools-execute cli command
Auth required
elastic stack kb agent-builder post-agent-builder-tools-execute \
--tool-id <tool-id> \
--tool-params <tool-params> \
[options]
Run a tool
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--tool-idstringrequired- The ID of the tool to execute.
--tool-paramsstringrequired- Parameters to pass to the tool execution. See examples for details
--approvalsstring- Actions the tool run may take that would otherwise need a live user to approve them. Applies to this run and any sub-agents it spawns.
--connector-idstring- Optional connector ID for tools that require external integrations.
--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)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON