Delete a tool
Base URL
https://{kibana_url}
Auth
Delete a tool by ID. This action cannot be undone. To learn more about Agent Builder tools, refer to the tools documentation .
Privileges
agentBuilder:manageTools
Expand all
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
toolId
string
required
The unique identifier of the tool to delete.
force
boolean · default: false
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.
A required header to protect against CSRF attacks
200
Indicates a successful response
application/json
Thank you for your feedback.
Base URL
https://{kibana_url}
Examples
Request
Console
1 / 2 languages
‹
›
1
DELETE kbn:/api/agent_builder/tools/{toolId}
1
2
3
4
curl \
-X DELETE "https://${KIBANA_URL}/api/agent_builder/tools/{toolId}" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true"
Response
Example response showing that the deletion operation was successful
Show more