Content blocks and tool turns
Messages preserves Anthropic native shapes when their semantics require a native route; the common text/tool subset may use a compatible route.
User content
Accepts text, tool_result and image blocks. Images use URL sources or JPEG, PNG, GIF or WebP base64 and require a route with verified image support.
Assistant content
Accepts text, thinking, redacted_thinking and tool_use. Native routes preserve protocol extension blocks, cache_control, citations and caller; cache_control and caller are beta-gated.
Tool definitions
Custom tools require object input_schema. Native server-tool definitions and blocks round-trip opaquely; PAI does not execute them. strict and listed Claude Code fields are beta-gated.
Extended thinking
adaptive and enabled thinking allow only auto or none tool choice. adaptive requires native Messages; thinking.display also requires the beta header.
Native semantics
Native-only fields, a system role inside messages and image tool results select a native Messages route. Router never performs a lossy Chat Completions downgrade for them.