Interface ToolOptions<UserData>

interface ToolOptions<UserData> {
    abortSignal: AbortSignal;
    ctx: RunContext<UserData>;
    toolCallId: string;
}

Type Parameters

  • UserData = UnknownUserData

Properties

abortSignal: AbortSignal

An abort signal that indicates that the overall operation should be aborted.

RunContext for the current agent session.

toolCallId: string

The ID of the tool call.