VocalDocscontracts 1.65.0

ToolCallStatus

How a Tool invocation ended (1.49.0). ok: a result that is JSON and satisfies the response_schema. error: the endpoint or the handler failed, answered a status other than 2xx, a body that is not JSON or does not satisfy the schema, or more than the response cap. timeout: no answer by the deadline (timeout_ms). blocked: the egress guard refused the destination (egress_denied), or in PHI mode a phi value would have entered the query string. no_handler: a function Tool with no events-channel connection serving it (FR-orchestration-10); from 1.50.0 the Session reads the handler presence key (call:<call id>:handlers) and ends such a call at once, and a call whose handler is present but sends no tool.result by the deadline is timeout with deadline_exceeded. invalid_arguments: the model's arguments failed the parameters, so nothing executed. refused_by_policy: a terminal action at on_tool_call stopped it before it executed.

An enumeration of 7 values.

Values

  • ok
  • error
  • timeout
  • blocked
  • no_handler
  • invalid_arguments
  • refused_by_policy