MetaPrompt (official example)

Claude
User Prompt
Intermediate

Prompt

https://github.com/mshumer/anthropic_with_functions/blob/main/anthropic_function/anthropic_function.py

Or you can directly use [Anthropic with Functions](https://github.com/mshumer/anthropic_with_functions/tree/main) tool.