Skip to main content
The Tools Service provides endpoints for managing and interacting with tools that can be used by AI agents. It includes functionality for creating, listing, updating, and testing tools, as well as managing tool categories.

Authentication

All endpoints require a valid Bearer token in the Authorization header.

Base URL

Tool Categories Endpoints

List Tool Categories

Retrieve all tool categories.
Endpoint: GET /api/tools/list_categories

Create Tool Category

Create a new tool category.
Endpoint: POST /api/tools/create_category Query Parameters: Request Body: Response:

Update Tool Category

Update an existing tool category.
Endpoint: PUT /api/tools/update_category Query Parameters: Request Body:

Delete Tool Category

Delete a tool category.
Endpoint: DELETE /api/tools/delete_category Query Parameters:

Tools Endpoints

Create Tool

Create a new tool.
Endpoint: POST /api/tools Query Parameters: Request Body:

List All Tools

Retrieve all available tools.
Endpoint: GET /api/tools/list_all

Update Tool

Update an existing tool.
Endpoint: PUT /api/tools Query Parameters: Request Body:

Test Tool

Test a tool with specified inputs and configurations.
Endpoint: POST /api/tools/test_tool Query Parameters: Request Body: Response:

Error Responses

Implementation Notes

  • Tools are designed to be integrated with AI agents
  • Tools can be organized into categories for better management
  • Each tool requires specific configuration parameters and input/output specifications
  • The testing functionality allows users to verify tool functionality with different inputs
  • Tools can be public (available to all organizations) or private (only available to the creating organization)