Event emitted when an agent uses a tool during execution

interface AgentToolUsed {
    agentId: string;
    agentName: string;
    eventType: "AgentToolUsed";
    toolName: string;
    toolArguments: Record<string, unknown>;
    toolResult?: unknown;
    contextId?: string;
    occurredAt: Date;
}

Hierarchy (View Summary)

Properties

agentId: string
agentName: string
eventType: "AgentToolUsed"
toolName: string
toolArguments: Record<string, unknown>
toolResult?: unknown
contextId?: string
occurredAt: Date

The timestamp when this event occurred.