What is Tool Use?
LLM calls external functions to extend capabilities.
How It Works
- Define functions
- LLM decides when to call
- Execute function
- Return result to LLM
- LLM continues
Examples
- Search the web
- Run code
- Query database
- Send email
- Read file
Frameworks
- LangChain
- LlamaIndex
- OpenAI Functions
- Anthropic Tool Use
- Custom
Patterns
- Sequential
- Parallel
- Conditional
- Recursive
Best For
- Agents
- Workflows
- Customer support
- Coding
Next Step
AI agents.