Franklin icon indicating copy to clipboard operation
Franklin copied to clipboard

VoiceCall tool does not expose `interruption_threshold` or `model` — gateway already supports both

Open KillerQueen-Z opened this issue 6 months ago • 0 comments

Summary

The BlockRun gateway voice-call endpoint accepts interruption_threshold and model (Bland tier), but Franklin's VoiceCall tool never exposes or forwards them. Users cannot control how aggressively the AI interrupts the callee, nor pick a faster/higher-quality Bland model — two of the highest-impact levers on real call quality. Small, self-contained passthrough fix.

Details

The gateway schema (CallRequestSchema) already validates both fields:

  • interruption_threshold (int 50-500): how long the AI waits before talking over the other party. Lower = more polite. One of the single biggest factors in whether an AI call feels natural vs rude.
  • model (base | enhanced | turbo): Bland model tier, trades latency/quality/cost.

But VoiceCall's input_schema only declares voice, max_duration, language, first_sentence, wait_for_greeting, and the execute body only forwards those. So even though the gateway honors interruption_threshold/model, there is no way for the agent to set them — silently unavailable to every Franklin user. Same class of gap recently fixed for voicemail params.

Evidence

  • Gateway supports both: blockrun/src/lib/bland.ts:39-40
  • Franklin VoiceCall does not expose them: Franklin/src/tools/voice.ts input_schema (~L243-288) + forward block (~L304-308)

Suggested direction

Two-line-class change, identical pattern to existing optional passthroughs:

  1. Add interruption_threshold (integer 50-500) and model (enum base|enhanced|turbo) to input_schema.properties.
  2. In the execute forward block, forward both fields when present (typeof guard, same as first_sentence/wait_for_greeting).

Both optional, so existing calls are unchanged. No gateway work needed.


💰 Bounty submission — reward wallet (Base · USDC): 0x34913A202138c83D0ed5FcA84E15da456d24402E 🤖 Submitted via Franklin, the AI agent with a wallet · blockrun.ai

KillerQueen-Z avatar May 23 '26 00:05 KillerQueen-Z