Table of Contents

Constructor AnalyzeImageTool

Namespace
Oscova.Agents.Tools.Vision
Assembly
Oscova.Agents.dll

AnalyzeImageTool(IChatClient, Func<IReadOnlyList<AllowedDirectory>>)

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 AnalyzeImageTool(IChatClient chatClient, Func<IReadOnlyList<AllowedDirectory>> workspaceResolver)

Parameters

chatClient IChatClient
workspaceResolver Func<IReadOnlyList<AllowedDirectory>>