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.
swarms/examples/tools/base_tool_examples/README.md

23 lines
1.3 KiB

# Base Tool Examples
This directory contains examples demonstrating base tool functionality and tool creation patterns.
## Examples
- [base_tool_examples.py](base_tool_examples.py) - Core base tool functionality
- [conver_funcs_to_schema.py](conver_funcs_to_schema.py) - Function to schema conversion
- [convert_basemodels.py](convert_basemodels.py) - BaseModel conversion utilities
- [exa_search_test.py](exa_search_test.py) - Exa search testing
- [example_usage.py](example_usage.py) - Basic usage examples
- [schema_validation_example.py](schema_validation_example.py) - Schema validation
- [test_anthropic_specific.py](test_anthropic_specific.py) - Anthropic-specific testing
- [test_base_tool_comprehensive_fixed.py](test_base_tool_comprehensive_fixed.py) - Comprehensive testing (fixed)
- [test_base_tool_comprehensive.py](test_base_tool_comprehensive.py) - Comprehensive testing
- [test_function_calls_anthropic.py](test_function_calls_anthropic.py) - Anthropic function calls
- [test_function_calls.py](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.