Skip to content

bodhi-realtime-agent / TransportPendingToolCall

Interface: TransportPendingToolCall

Defined in: types/transport.ts:175

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:193

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


args

args: Record<string, unknown>

Defined in: types/transport.ts:181

Parsed arguments.


execution

execution: "inline" | "background"

Defined in: types/transport.ts:191

Whether this was an inline or background tool call.


id

id: string

Defined in: types/transport.ts:177

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


name

name: string

Defined in: types/transport.ts:179

Tool name.


result?

optional result: unknown

Defined in: types/transport.ts:185

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


startedAt

startedAt: number

Defined in: types/transport.ts:187

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


status

status: "executing" | "completed"

Defined in: types/transport.ts:183

Whether the tool is still running or has completed.


timeoutMs?

optional timeoutMs: number

Defined in: types/transport.ts:189

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

Built with VitePress