Tool to create a message using Anthropic Messages API format via OpenRouter. Use when you need Claude-compatible chat completion with support for text, images, PDFs, tools, and extended thinking.
userstringUnique identifier for the end-user (max 128 characters).
modelRequiredstringModel identifier to use for generation. Example: 'anthropic/claude-4.5-sonnet-20250929'.
toolsarrayList of tools available for the model to call.
top_kintegerTop-k sampling parameter.
top_pnumberNucleus sampling probability between 0 and 1.
modelsarrayList of fallback models to use if primary model fails.
streambooleanWhether to stream the response. Default false.
systemSystem message to guide model behavior.
pluginsarrayPlugins to enable for this request.
x_titlestringApp display name for OpenRouter dashboard.
messagesRequiredarrayList of conversation messages. Each message has a role ('user' or 'assistant') and content.
metadataobjectMetadata for the request.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.