Skip to content

bodhi-realtime-agent / TransportPendingToolCall

Interface: TransportPendingToolCall ​

Defined in: src/types/transport.ts:354

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: src/types/transport.ts:372

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


args ​

args: Record<string, unknown>

Defined in: src/types/transport.ts:360

Parsed arguments.


execution ​

execution: "inline" | "background"

Defined in: src/types/transport.ts:370

Whether this was an inline or background tool call.


id ​

id: string

Defined in: src/types/transport.ts:356

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


name ​

name: string

Defined in: src/types/transport.ts:358

Tool name.


result? ​

optional result?: unknown

Defined in: src/types/transport.ts:364

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


startedAt ​

startedAt: number

Defined in: src/types/transport.ts:366

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


status ​

status: "executing" | "completed"

Defined in: src/types/transport.ts:362

Whether the tool is still running or has completed.


timeoutMs? ​

optional timeoutMs?: number

Defined in: src/types/transport.ts:368

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

Built with VitePress