stack kb agent-builder delete-agent-builder-tools-toolid cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack kb agent-builder delete-agent-builder-tools-toolid \
--tool-id <tool-id> \
[options]
Delete a tool
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--tool-idstringrequired- The unique identifier of the tool to delete.
--[no-]force- If true, removes the tool from agents that use it and then deletes it. If false and any agent uses the tool, the request returns 409 Conflict with the list of agents.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON