Your first tool
An example of this behavior is something that surprises a lot of people when they start experimenting with AI. If you ask a model the question “how many Rs are in the word strawberry?”, it will often struggle to get the answer correct. To solve that, we can instead create an agent with a simple tool:See also
- Tool in the SDK reference