Skip to content

bodhi-realtime-agent / TransportPendingToolCall

Interface: TransportPendingToolCall

Defined in: types/transport.ts:165

Snapshot of an in-flight tool call for reconnect recovery. Named TransportPendingToolCall to avoid conflict with PendingToolCall in session.ts (used for session checkpoints).

Properties

agentName

agentName: string

Defined in: types/transport.ts:183

Name of the agent that owned this tool call at dispatch time.


args

args: Record<string, unknown>

Defined in: types/transport.ts:171

Parsed arguments.


execution

execution: "inline" | "background"

Defined in: types/transport.ts:181

Whether this was an inline or background tool call.


id

id: string

Defined in: types/transport.ts:167

Transport-assigned tool call ID (used for idempotency dedup).


name

name: string

Defined in: types/transport.ts:169

Tool name.


result?

optional result: unknown

Defined in: types/transport.ts:175

Result value (present only when status === 'completed').


startedAt

startedAt: number

Defined in: types/transport.ts:177

When execution started (Unix ms). Used for timeout calculation on recovery.


status

status: "executing" | "completed"

Defined in: types/transport.ts:173

Whether the tool is still running or has completed.


timeoutMs?

optional timeoutMs: number

Defined in: types/transport.ts:179

Max execution time in ms. Transport skips re-execution if wall-clock exceeds this.

Built with VitePress