Class AnalyzeImageTool
- Namespace
- Oscova.Agents.Tools.Vision
- Assembly
- Oscova.Agents.dll
Exposes a single-image vision call as an AI tool. Constructed per-run with the same Microsoft.Extensions.AI.IChatClient the chat agent is using, so the tool always routes image analysis through the currently selected (vision-capable) provider.
public sealed class AnalyzeImageToolInheritance
Inherited Members
Constructors
- AnalyzeImageTool(IChatClient)
-
Exposes a single-image vision call as an AI tool. Constructed per-run with the same Microsoft.Extensions.AI.IChatClient the chat agent is using, so the tool always routes image analysis through the currently selected (vision-capable) provider.
Fields
- ToolName
-
Gets the stable function name used when exposing the image analysis tool.
Methods
- AsAITool()
-
Creates the AI function wrapper for image analysis.