Class BetaFallbackBlockParam

  • All Implemented Interfaces:

    
    public final class BetaFallbackBlockParam
    
                        

    A fallback block echoed back from a prior response.

    Accepted in messages[].content and not rendered into the prompt; not validated against the request's fallbacks chain or top-level model.

    When you send the assistant turn back, keep this block in its original position. The block marks the boundary between content produced before and after a fallback hop, and the server relies on that boundary to validate the turn: when thinking runs flank the boundary, omitting the block merges them into one span the server cannot validate (the request is rejected), and moving it into the middle of a single run is likewise rejected; between non-thinking blocks the block's placement has no effect on thinking validation.

    Some blocks from before the turn's final fallback block must be left out when you send the turn back, and no tool_result is sent for a tool_use block you left out.

    See the refusals and fallback guide to learn which blocks to keep.