You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 days ago | |
|---|---|---|
| .. | ||
| README.md | 2 days ago | |
| base_tool_examples.py | 6 months ago | |
| conver_funcs_to_schema.py | 6 months ago | |
| convert_basemodels.py | 6 months ago | |
| exa_search_test.py | 5 months ago | |
| example_usage.py | 6 months ago | |
| schema_validation_example.py | 6 months ago | |
| test_anthropic_specific.py | 6 months ago | |
| test_base_tool_comprehensive.py | 6 months ago | |
| test_base_tool_comprehensive_fixed.py | 6 months ago | |
| test_function_calls.py | 6 months ago | |
| test_function_calls_anthropic.py | 6 months ago | |
README.md
Base Tool Examples
This directory contains examples demonstrating base tool functionality and tool creation patterns.
Examples
- base_tool_examples.py - Core base tool functionality
- conver_funcs_to_schema.py - Function to schema conversion
- convert_basemodels.py - BaseModel conversion utilities
- exa_search_test.py - Exa search testing
- example_usage.py - Basic usage examples
- schema_validation_example.py - Schema validation
- test_anthropic_specific.py - Anthropic-specific testing
- test_base_tool_comprehensive_fixed.py - Comprehensive testing (fixed)
- test_base_tool_comprehensive.py - Comprehensive testing
- test_function_calls_anthropic.py - Anthropic function calls
- test_function_calls.py - Function call testing
Overview
Base tool examples demonstrate the fundamental patterns for creating and using tools in Swarms. These examples cover tool schema definition, function-to-schema conversion, validation, and provider-specific implementations. Essential for understanding how to build custom tools for agents.