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
Hugh b4245f8f17
restored missing sync files
1 month ago
..
README.md restored missing sync files 1 month ago
base_tool_examples.py restored missing sync files 1 month ago
conver_funcs_to_schema.py restored missing sync files 1 month ago
convert_basemodels.py restored missing sync files 1 month ago
exa_search_test.py restored missing sync files 1 month ago
example_usage.py restored missing sync files 1 month ago
schema_validation_example.py restored missing sync files 1 month ago
test_anthropic_specific.py restored missing sync files 1 month ago
test_base_tool_comprehensive.py restored missing sync files 1 month ago
test_base_tool_comprehensive_fixed.py restored missing sync files 1 month ago
test_function_calls.py restored missing sync files 1 month ago
test_function_calls_anthropic.py restored missing sync files 1 month ago

README.md

Base Tool Examples

This directory contains examples demonstrating base tool functionality and tool creation patterns.

Examples

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.