Tools are code that can be executed by an agent to perform actions. A tool can be a simple function such as a calculator, or an API call to a third-party service such as stock price lookup or weather forecast. In the context of AI agents, tools are designed to be executed by agents in response to model-generated function calls. AutoGen provides the autogen_core.tools module with a suite of built-in tools and utilities for creating and running custom tools.