A tool is a function the agent calls mid-conversation — it sends the model's arguments to your webhook.