OpenRouter: tool blocks widened to support MCP tool references, VoyageAI provider option
OpenRouter's Messages API tool blocks (MessagesToolAdditionBlock, MessagesToolRemovalBlock) now accept a union of tool_reference, mcp_tool_reference, and mcp_toolset_reference, with cache_control support added. Existing tool_reference payloads remain valid. The ProviderName enum and ProviderOptions gain new entries including VoyageAI.
PUBLISHED2026-07-24
OBSERVED2026-08-21
AGE1mo
SOURCES1
- MessagesToolAdditionBlock and MessagesToolRemovalBlock:
toolfield widened from a singletool_referenceobject to a union oftool_reference,mcp_tool_reference(name + server_name), andmcp_toolset_reference(server_name). Thetypeproperty moved into thetool_referencevariant. Existing{"type": "tool_reference", "name": "..."}payloads remain valid.cache_controlproperty added to both blocks. - ProviderName enum: new value added, affects multiple endpoints
- ProviderOptions: new
voyageaiproperty added across audio, image, and video endpoints - AnthropicCompactionBlock: new
encrypted_contentproperty - ORAnthropicStopReason: enum value added
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.