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

--configuration string required
Tool-specific configuration parameters. See examples for details.
--id string required
Unique identifier for the tool.
--type enum required

The type of tool to create (e.g., esql, index_search).

Values: esql, index_search, workflow, mcp

--confirmation string
Optional tool call policy to control tool call confirmation behavior
--description string
Description of what the tool does.
--tags string[]

Optional tags for categorizing and organizing tools.

Repeatable: pass --tags multiple times to supply more than one value

--input-file string
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