Create a tool
Server:
https://{kibana_url}
- POST /api/agent_builder/tools
- POST /s/{space_id}/api/agent_builder/tools
Refer to Spaces for more information.
Create a new tool. Use this endpoint to define a custom tool with specific functionality and configuration for use by agents. To learn more about Agent Builder tools, refer to the tools documentation.
[Required authorization] Route required privileges: agentBuilder:manageTools.
Request
-
configurationmap string to objectrequired -
Tool-specific configuration parameters. See examples for details.
-
confirmationobject -
Optional tool call policy to control tool call confirmation behavior
-
askUser -
Values:
oncealwaysnever -
descriptionstring -
Description of what the tool does.
-
idstringrequired -
Unique identifier for the tool.
-
Optional tags for categorizing and organizing tools.
-
typerequired -
The type of tool to create (e.g., esql, index_search).
-
Values:
esqlindex_searchworkflowmcp
Response
200
application/json
Indicates a successful response