Skip to main content
Function calling uses Bedrock’s exact toolConfig / toolUse / toolResult shapes. Define tools with a JSON Schema, the model responds with a toolUse block (stopReason == "tool_use"), you execute it and send back a toolResult block. Streaming tool calls arrive as contentBlockStart (tool identity) followed by contentBlockDelta events carrying incremental JSON argument fragments — exactly as Bedrock streams them.