---
name: function-calling
description: Define and execute function calls with parameter validation, retries, and error recovery
category: AI Agents
---

# Function Calling

## Overview
Define and execute function calls with parameter validation, retries, and error recovery. This skill helps you apply structured, repeatable methods for consistent results.

## When to Use
- When you need to apply function calling best practices
- When establishing processes or standards for your workflow
- When training team members on function calling
- When automating or optimizing function calling tasks

## Instructions
1. **Assess**: Evaluate the current state, requirements, and constraints
2. **Plan**: Define the approach, steps, and success criteria
3. **Execute**: Follow the established patterns and best practices
4. **Verify**: Check results against expected outcomes and quality standards
5. **Iterate**: Refine based on feedback and lessons learned

## Examples
```
User: Help me apply function calling for my current project
Assistant: I'll help you apply function calling step by step...
```

## Related Skills
- Use with `workflow` tool for orchestrated execution
- Combine with `task` tool for delegated processing
- Reference `system-prompt` for system-level integration
