Overview
Thecreate_tool function creates a new AI tool in the system.
Function Signature
Parameters
The tool data for creation including:
name: Tool name (required)description: Tool description (required)tool_type: Type of tool (required)config: Tool configuration (required)is_active: Whether tool is active (optional, defaults to true)
Return Value
ReturnsResult<AiTool> containing the created tool details.
Basic Usage
Error Handling
Rate Limits
- Create operations: 20 requests per minute
- Burst limit: 5 requests per second
Related Functions
- fetch_tools - List all tools
- fetch_tool - Get tool by ID
- update_tool - Update tool configuration
- delete_tool - Delete tool
