advancedExercise 1 of 1

Defining and Using Tools

Define one or more tools and write a prompt that causes Claude to call the correct tool with appropriate parameters.

Your Task

Define two tools: (1) a weather lookup tool and (2) a calendar scheduling tool. Then write a user message that should trigger the weather tool, not the calendar tool. Explain how Claude would decide which tool to use.