Added
Tools API
27 days ago
We’ve introduced a new Tools API, making it easier to integrate and manage custom tools programmatically.
What’s new
-
HTTP Tools – External API integrations with templating & authentication.
- URL templates with
{{parameter}}substitution - Support for HTTP methods (GET, POST, PUT, DELETE, etc.)
- Custom headers (including authentication)
- Parameter definitions with types, descriptions, default values
- Control over which parameters are visible to the LLM (
send_to_model)
- URL templates with
-
Function Tools – Define tool schemas via API (same as in the UI).
- OpenAPI-style schemas for custom business logic
- Function name, description, parameters
- Strict parameter validation
- Optional manual approval before execution
-
Code Tools (Python) – Run custom Python code in a secure sandbox.
- Define parameters in JSON Schema
- Access
paramsvariable for LLM-provided inputs - Supports return value processing & error handling
- Fully isolated execution environment