Table of Contents

Namespace Oscova.Agents.Utils

Classes

AIFunctionArgumentsExtensions

Converts JSON tool-call argument payloads into Microsoft.Extensions.AI function arguments.

AgentCallableName

Normalizes agent display names to the function names used for agent-as-tool calls.

AgentJsonText

Renders tool payload values as text so history summaries and prompt-fit checks use the same JSON shape.

AgentTokenCounter

Provides the shared token counter used for agent prompt budgeting and memory chunking.

ContextTextBudget

Truncates prompt context text to a small approximate token budget.

FileUtil

File operations shared by reusable toolsets and host infrastructure.

PathHelper

Path security utilities for containment checks and safe logging.

TimeZoneResolver

Resolves user-supplied time-zone identifiers across Windows and IANA naming schemes.

ToolCallArgumentRedactor

Redacts sensitive values from tool-call arguments before they are shown outside the execution pipeline.

ZipArchiveExtractionItem

Represents a validated archive entry and the destination path it resolves to.

ZipArchiveExtractionPlan

Validates archive entries before extraction and resolves safe destination paths under a single root.