Skip to content

bodhi-realtime-agent / ToolCallRouterDeps

Interface: ToolCallRouterDeps ​

Defined in: src/core/tool-call-router.ts:11

Callbacks that the ToolCallRouter needs from VoiceSession.

Properties ​

agentRouter ​

agentRouter: AgentRouter

Defined in: src/core/tool-call-router.ts:13


conversationContext ​

conversationContext: ConversationContext

Defined in: src/core/tool-call-router.ts:14


notificationQueue ​

notificationQueue: BackgroundNotificationQueue

Defined in: src/core/tool-call-router.ts:15


subagentConfigs ​

subagentConfigs: Record<string, SubagentConfig>

Defined in: src/core/tool-call-router.ts:17


toolExecutor ​

toolExecutor: ToolExecutor

Defined in: src/core/tool-call-router.ts:12


transcriptManager ​

transcriptManager: TranscriptManager

Defined in: src/core/tool-call-router.ts:16

Methods ​

log() ​

log(msg): void

Defined in: src/core/tool-call-router.ts:25

Diagnostic log.

Parameters ​

msg ​

string

Returns ​

void


reportError() ​

reportError(component, error): void

Defined in: src/core/tool-call-router.ts:23

Report an error via hooks/logging.

Parameters ​

component ​

string

error ​

unknown

Returns ​

void


sendToolResult() ​

sendToolResult(result): void

Defined in: src/core/tool-call-router.ts:19

Send a tool result back to the LLM transport.

Parameters ​

result ​

TransportToolResult

Returns ​

void


transfer() ​

transfer(toAgent): Promise<void>

Defined in: src/core/tool-call-router.ts:21

Trigger an agent transfer.

Parameters ​

toAgent ​

string

Returns ​

Promise<void>

Built with VitePress