Day 24 Check-in:
How to implement tool calls in your wrapper tool?
1. Send a user message with the tool schema to Claude.
2. Receive an assistant message with a text block and a tool use block.
3. Extract tool information and execute the actual function.
4. Send the tool result back to Claude along with the complete conversation history.
5. Receive the final response from Claude.
When using multiple tools, maintain a conversation loop until Claude no longer requests the tool.
To use a batch tool, send multiple tool definitions in the tool schema.