Table of Contents

Enum HookEventKind

Namespace
Oscova.Agents.Hooks
Assembly
Oscova.Agents.dll

Identifies lifecycle events that external hooks can observe or block.

public enum HookEventKind

Fields

PostToolUse = 6

An agent has finished calling a tool.

PreToolUse = 5

An agent is about to call a tool.

SessionStart = 3

A new agent conversation session is starting.

TaskComplete = 1

A task completed successfully.

TaskFailed = 2

A task finished with a failure.

TaskStart = 0

A scheduled or externally triggered task is about to start.

UserPromptSubmit = 4

A user prompt was submitted before model execution.