Guides
Guides
Task-oriented guides: streaming, tool calling, vision input, structured output and protocol bridging.
One task per page, each with runnable code.
- Streaming: reading SSE, handling partial frames, when not to stream
- Tool calling: the request/response shape and the multi-turn loop
- Vision: images as URLs or base64, plus size limits
- Structured output: JSON Schema constraints and parse fallbacks
- Protocol bridging: field mapping boundaries across the four inbound protocols
Capabilities come from the model
The gateway normalises protocols; it does not invent capabilities. If a model has no vision or tool support, you get an explicit error. Check Models before choosing.