Table of Contents

Class WorkspacePathValidationMiddleware

Namespace
Oscova.Agents.Middleware
Assembly
Oscova.Agents.dll

Validates workspace-scoped tool arguments at function invocation time using the public Microsoft.Extensions.AI.FunctionInvokingChatClient middleware hook.

public static class WorkspacePathValidationMiddleware

Inheritance

Inherited Members

Methods

UseWorkspacePathValidation(ChatClientBuilder, Func<IReadOnlyList<AllowedDirectory>>)

Adds per-invocation validation for tool parameters marked with Oscova.Agents.Toolsets.WorkspacePathAttribute.