Build powerful, reusable tools with our intuitive interface
Define the input parameters your tool accepts using JSON Schema format. This helps validate inputs and generate documentation.
Provide sample input data that matches your schema. This will be used for testing and documentation.
Write Python code to implement your tool. Access input via input_data dictionary and set the data variable with your results.
input_data
data
# Available variables and structure: # 1. Input data (validated against your schema) query = input_data.get('query', '') limit = input_data.get('limit', 10) format_type = input_data.get('format', 'json') # 2. Your implementation logic results = process_query(query, limit) processed_data = format_results(results, format_type) # 3. Set output data (required) data = { 'results': processed_data, 'count': len(results), 'query': query } # 4. Optional: Custom success message message = f"Successfully processed {len(results)} results" # System automatically creates response: # { # "success": True, # "data": data, # "message": message or "Tool executed successfully", # "execution_time": "0.123s" # }
Review your tool configuration and test it with sample input before creating it.
Test your tool with the sample input to ensure it works as expected.
Start by giving your tool a descriptive name and selecting an appropriate category.