--- title: "ChatFunctionTool" --- Tool definition for function calling (regular function or OpenRouter built-in server tool) ## Supported Types ### `components.ChatFunctionToolFunction` ```python value: components.ChatFunctionToolFunction = /* values here */ ``` ### `components.AdvisorServerToolOpenRouter` ```python value: components.AdvisorServerToolOpenRouter = /* values here */ ``` ### `components.BashServerTool` ```python value: components.BashServerTool = /* values here */ ``` ### `components.DatetimeServerTool` ```python value: components.DatetimeServerTool = /* values here */ ``` ### `components.FilesServerTool` ```python value: components.FilesServerTool = /* values here */ ``` ### `components.FusionServerToolOpenRouter` ```python value: components.FusionServerToolOpenRouter = /* values here */ ``` ### `components.ImageGenerationServerToolOpenRouter` ```python value: components.ImageGenerationServerToolOpenRouter = /* values here */ ``` ### `components.ChatSearchModelsServerTool` ```python value: components.ChatSearchModelsServerTool = /* values here */ ``` ### `components.SubagentServerToolOpenRouter` ```python value: components.SubagentServerToolOpenRouter = /* values here */ ``` ### `components.WebFetchServerTool` ```python value: components.WebFetchServerTool = /* values here */ ``` ### `components.OpenRouterWebSearchServerTool` ```python value: components.OpenRouterWebSearchServerTool = /* values here */ ``` ### `components.ChatWebSearchShorthand` ```python value: components.ChatWebSearchShorthand = /* values here */ ```