LLM stacks \ 4 CPLT \ 4.5.2 ExtData Tools - terrytaylorbonn/auxdrone GitHub Wiki
25.0717 Lab notes (Gdrive), Git
- 1 Agent has built-in tool functions
- Direct Python functions (file operations, calculations, API calls)
- No external protocol needed
- Example: weather_api(city), file_read(path), math_calculate(expression)
- 2 Agent decides when to use tools
- Based on prompt keywords or patterns
- Simple if/else logic or regex matching
- Example: if "weather" in question → call weather_api()
- 3 Agent executes tools directly
- Calls local functions or libraries
- Makes direct HTTP requests to APIs
- Processes files on local filesystem
- 4 Agent formats tool results for model
- Converts API responses to readable text
- Example: {"temp": 25, "desc": "sunny"} → "Temperature is 25°C, sunny"
Note: Traditional tools are simpler but less standardized than MCP. MCP provides discovery, validation, and standardized interfaces.