Tools - chin3/Multi-Agent-Research-POC GitHub Wiki
Extracts and parses tool calls from agent responses.
- Identifies
<tool_call>BraveSearch(...)</tool_call>pattern - Extracts and validates JSON parameters
- Uses regex for pattern matching
- Handles errors gracefully
Centralized registry for tool implementations.
- Maps tool names to functions
- Two options for Brave Search:
- Direct API call
- MCP plugin server
- Uses
httpxfor HTTP calls - Loads env variables for keys
- Formats results