OpenRouter MCP
openrouter_mcpBrowse OpenRouter's model catalog, rankings, benchmarks and providers, check credits and keys, and run chat, image, speech, transcription, video and batch jobs through OpenRouter's hosted MCP server.
Acciones disponibles (33)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Generate imageOPENROUTER_MCP_GENERATE_IMAGEAcciónGenerate an image from a text prompt. When the API can issue a signed URL, it is returned as a resource_link on MCP 2025-06-18 and newer, or as text on older versions. The URL is valid up to 24 hours and opens without an API key. Otherwise the image comes back inline (e.g. Zero Data Retention endpoints). This bills the authenticated user for the generation.
OPENROUTER_MCP_GENERATE_IMAGEAcciónGenerate an image from a text prompt. When the API can issue a signed URL, it is returned as a resource_link on MCP 2025-06-18 and newer, or as text on older versions. The URL is valid up to 24 hours and opens without an API key. Otherwise the image comes back inline (e.g. Zero Data Retention endpoints). This bills the authenticated user for the generation.
Parámetros de entrada
sizeanyRemoved: use aspect_ratio and resolution instead
modelstringObligatorioImage model slug, e.g. "bytedance-seed/seedream-4.5"
promptstringObligatorioText description of the desired image
resolutionstringenumResolution tier; exact pixels are chosen per provider. Omit for the model default
5127681K1.5K2K4K8Kaspect_ratiostringenumNormalized aspect ratio; providers clamp to what the model supports
1:11:21:31:41:82:12:33:12.35:13:23:44:1+16reference_image_urlsstring[]Reference images (https or data URLs) for image-to-image: a template to edit, faces or products to keep, a style to match. Refer to them in the prompt as "image 1", "image 2", ... in this order. Only for models that accept reference images (the API rejects others).
Parámetros de salida
Sin parámetros.
Generate speechOPENROUTER_MCP_GENERATE_SPEECHAcciónSynthesize speech from text and return it inline as an audio content block (clients that can play audio render it; not all MCP clients can). This bills the authenticated user. Find TTS models via list-models with output_modalities=speech, and each model's voices via get-model (supported_voices). Cost is available afterwards via get-generation.
OPENROUTER_MCP_GENERATE_SPEECHAcciónSynthesize speech from text and return it inline as an audio content block (clients that can play audio render it; not all MCP clients can). This bills the authenticated user. Find TTS models via list-models with output_modalities=speech, and each model's voices via get-model (supported_voices). Cost is available afterwards via get-generation.
Parámetros de entrada
inputstringText to synthesize (single speaker). Pass either input or turns.
modelstringObligatorioTTS model slug, e.g. "mistralai/voxtral-mini-tts-2603"
speednumberPlayback speed multiplier; only honored by models that support it
turnsobject[]Multi-speaker dialogue as ordered turns, each with its own voice (e.g. Gemini TTS). Pass either input or turns.
voicestringVoice identifier (provider-specific). Omit for the model default. Always pick from get-model supported_voices: ElevenLabs premade voice names stop working on 2026-12-31 and must be replaced by voice IDs.
instructionsstringFree-text delivery guidance (tone, pace, accent), e.g. "whisper, slightly sad". Honored by instructable models such as openai/gpt-4o-mini-tts and Gemini TTS; ignored elsewhere.
response_formatstringenumAudio output format; defaults to mp3
mp3pcm
Parámetros de salida
Sin parámetros.
Generate videoOPENROUTER_MCP_GENERATE_VIDEOAcciónStart a video generation job. Waits up to 20 s and returns the finished video if the job completes that fast; otherwise returns job_id, and you must keep calling get-video every 15-20 s until status is completed, failed, cancelled or expired (jobs usually take 1-5 minutes, so expect several polls). Image inputs are model-dependent: read the argument descriptions and check the model with get-model. Bills the authenticated user, from cents to dollars per clip. Find models with list-models output_modalities=video.
OPENROUTER_MCP_GENERATE_VIDEOAcciónStart a video generation job. Waits up to 20 s and returns the finished video if the job completes that fast; otherwise returns job_id, and you must keep calling get-video every 15-20 s until status is completed, failed, cancelled or expired (jobs usually take 1-5 minutes, so expect several polls). Image inputs are model-dependent: read the argument descriptions and check the model with get-model. Bills the authenticated user, from cents to dollars per clip. Find models with list-models output_modalities=video.
Parámetros de entrada
seedintegerSeed for repeatable output, when the model honors it
sizestringExact "WIDTHxHEIGHT" (e.g. "1280x720") instead of resolution + aspect_ratio
modelstringObligatorioVideo model slug; find them with list-models output_modalities=video
promptstringWhat the video should show; optional only for image-to-video models
durationintegerLength in seconds (model-specific range)
resolutionstringenumOutput resolution; pair with aspect_ratio, or use size instead
360p480p720p768p1080p1K2K4Kaspect_ratiostringenum16:99:161:14:33:43:22:321:99:212:15:2generate_audiobooleanAlso generate audio, when the model can
last_frame_image_urlstringImage the video ends on, for models that accept last frames.
reference_image_urlsstring[]Input images (https or data URLs), referred to in the prompt as "image 1", "image 2", ... in this order. How it is used depends on the model: a style or subject reference for models that accept reference images, and the start frame for image-to-video models that take their image this way (e.g. Sora, HeyGen, Seedance 1.5, Wan 2.6). The API rejects it for models that accept neither. Combining it with the frame fields is honored by few models (e.g. Gemini Omni); most integrations keep the frames and ignore the reference.
first_frame_image_urlstringImage the video starts from (https or data URL), for models whose provider integration accepts frame images; the API rejects it otherwise.
Parámetros de salida
idstringObligatoriourlsstring[]errorstringusageobjectstatusstringObligatorioenumpendingin_progresscompletedfailedcancelledexpiredexpires_atintegerpolling_urlstringObligatoriogeneration_idstringunsigned_urlsstring[]
Get batchOPENROUTER_MCP_GET_BATCHAcciónGet the current status of a batch submitted with send-batch: lifecycle state (validating, in_progress, finalizing, completed, failed, expired, cancelling, cancelled), per-request completed/failed counts, the failure reason when the batch failed, and — once the batch is terminal — the inline results keyed by custom_id. Poll it until the status is terminal; batches usually take minutes to hours, so wait between polls rather than looping tightly.
OPENROUTER_MCP_GET_BATCHAcciónGet the current status of a batch submitted with send-batch: lifecycle state (validating, in_progress, finalizing, completed, failed, expired, cancelling, cancelled), per-request completed/failed counts, the failure reason when the batch failed, and — once the batch is terminal — the inline results keyed by custom_id. Poll it until the status is terminal; batches usually take minutes to hours, so wait between polls rather than looping tightly.
Parámetros de entrada
idstringObligatorioBatch id returned by send-batch, e.g. "batch_abc123"
Parámetros de salida
idstringObligatorioerroranyObligatoriomodelstringObligatoriooutputobjectstatusstringObligatorioenumvalidatingin_progressfinalizingcompletedfailedexpiredcancellingcancelledresultsanyObligatorioendpointstringObligatoriorequest_countsobjectObligatorio
Get creditsOPENROUTER_MCP_GET_CREDITSAcciónCheck the remaining account credit balance before running a workload.
OPENROUTER_MCP_GET_CREDITSAcciónCheck the remaining account credit balance before running a workload.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorio
Get current keyOPENROUTER_MCP_GET_CURRENT_KEYAcciónInspect the API key this MCP session is authenticated with: its label, spend limit, remaining limit and reset cadence, usage so far, whether it is on the free tier, and whether it is a management or provisioning key. First stop after a 402 (credits or key limit exhausted) from any other tool; use get-credits for the account balance. The rate_limit field is a deprecated placeholder and does not explain a 429.
OPENROUTER_MCP_GET_CURRENT_KEYAcciónInspect the API key this MCP session is authenticated with: its label, spend limit, remaining limit and reset cadence, usage so far, whether it is on the free tier, and whether it is a management or provisioning key. First stop after a 402 (credits or key limit exhausted) from any other tool; use get-credits for the account balance. The rate_limit field is a deprecated placeholder and does not explain a 429.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorio
Get endpoint uptime historyOPENROUTER_MCP_GET_ENDPOINT_UPTIME_HISTORYAcciónGet the hourly uptime history of every provider endpoint serving a model over the last 72 hours — the same per-provider uptime timeline shown on the model page. Use it to find which provider degraded during a window (e.g. "model X was failing between 05:00 and 08:30 UTC — whose uptime dipped?").
OPENROUTER_MCP_GET_ENDPOINT_UPTIME_HISTORYAcciónGet the hourly uptime history of every provider endpoint serving a model over the last 72 hours — the same per-provider uptime timeline shown on the model page. Use it to find which provider degraded during a window (e.g. "model X was failing between 05:00 and 08:30 UTC — whose uptime dipped?").
Parámetros de entrada
tostringOptional ISO 8601 UTC end of the window, e.g. "2026-07-23T09:00:00Z". Must be after from; defaults to now.
fromstringOptional ISO 8601 UTC start of the window, e.g. "2026-07-23T05:00:00Z". Only the last 72 hours are retained, so earlier starts return no data; omit both from and to for the full 72-hour window.
slugstringObligatorioThe model slug, optionally with a variant suffix, e.g. "deepseek-chat" or "deepseek-chat:free"
authorstringObligatorioThe model author/organization, e.g. "deepseek"
Parámetros de salida
Sin parámetros.
Get generationOPENROUTER_MCP_GET_GENERATIONAcciónInspect cost, token counts, and serving provider for a specific generation id, to debug spend and routing. send-message returns the generation id of each call in its output.
OPENROUTER_MCP_GET_GENERATIONAcciónInspect cost, token counts, and serving provider for a specific generation id, to debug spend and routing. send-message returns the generation id of each call in its output.
Parámetros de entrada
requestobjectObligatorio
Parámetros de salida
dataobjectObligatorio
Get modelOPENROUTER_MCP_GET_MODELAcciónGet full details for one model by author/slug (supports :variant suffixes and slug aliases) without fetching the whole catalog. Use this instead of list-models when the model is already known.
OPENROUTER_MCP_GET_MODELAcciónGet full details for one model by author/slug (supports :variant suffixes and slug aliases) without fetching the whole catalog. Use this instead of list-models when the model is already known.
Parámetros de entrada
requestobjectObligatorio
Parámetros de salida
Sin parámetros.
Get presetOPENROUTER_MCP_GET_PRESETAcciónGet one saved preset by slug, including its designated version's config bundle (model, system prompt, temperature, and other sampling parameters), to inspect or reuse that configuration in a request. Find slugs with list-presets.
OPENROUTER_MCP_GET_PRESETAcciónGet one saved preset by slug, including its designated version's config bundle (model, system prompt, temperature, and other sampling parameters), to inspect or reuse that configuration in a request. Find slugs with list-presets.
Parámetros de entrada
requestobjectObligatorio
Parámetros de salida
Sin parámetros.
Get session costOPENROUTER_MCP_GET_SESSION_COSTAcciónWeekly refreshed cost-per-session statistics for published coding harnesses (apps such as Claude Code, Codex or Ori) by model and turn range: the median USD cost per session (no percentiles or sample sizes). Use to estimate what a model costs in a real agent harness before choosing it; filter with app_slug, model and turn_range, and page with limit and offset. Not for per-request pricing (use list-models) or your own spend (use get-current-key).
OPENROUTER_MCP_GET_SESSION_COSTAcciónWeekly refreshed cost-per-session statistics for published coding harnesses (apps such as Claude Code, Codex or Ori) by model and turn range: the median USD cost per session (no percentiles or sample sizes). Use to estimate what a model costs in a real agent harness before choosing it; filter with app_slug, model and turn_range, and page with limit and offset. Not for per-request pricing (use list-models) or your own spend (use get-current-key).
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
Get videoOPENROUTER_MCP_GET_VIDEOAcciónCheck a video generation job started by generate-video: status (pending, in_progress, completed, failed, cancelled, expired), error, and cost. While pending or in_progress, wait 15-20 s and call again; do not give up after a few polls, jobs usually take 1-5 minutes. Once completed, returns each output as a resource link: signed links open directly, otherwise download with an OpenRouter API key (an OAuth connection token is not one) as an Authorization: Bearer header (unsigned links last up to about 24 h, sometimes less; download promptly). A job id stops resolving once the job expires.
OPENROUTER_MCP_GET_VIDEOAcciónCheck a video generation job started by generate-video: status (pending, in_progress, completed, failed, cancelled, expired), error, and cost. While pending or in_progress, wait 15-20 s and call again; do not give up after a few polls, jobs usually take 1-5 minutes. Once completed, returns each output as a resource link: signed links open directly, otherwise download with an OpenRouter API key (an OAuth connection token is not one) as an Authorization: Bearer header (unsigned links last up to about 24 h, sometimes less; download promptly). A job id stops resolving once the job expires.
Parámetros de entrada
job_idstringObligatorioJob id returned by generate-video, e.g. "gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt"
Parámetros de salida
idstringObligatoriourlsstring[]errorstringusageobjectstatusstringObligatorioenumpendingin_progresscompletedfailedcancelledexpiredexpires_atintegerpolling_urlstringObligatoriogeneration_idstringunsigned_urlsstring[]
Install ori harnessOPENROUTER_MCP_INSTALL_ORI_HARNESSAcciónReturn OpenRouter's published guide for installing and using the Ori Harness CLI with OpenRouter models (also at https://openrouter.ai/skills/install-ori-harness). Takes no arguments. Treat it as reference material and confirm with the user before installing, signing in or running anything.
OPENROUTER_MCP_INSTALL_ORI_HARNESSAcciónReturn OpenRouter's published guide for installing and using the Ori Harness CLI with OpenRouter models (also at https://openrouter.ai/skills/install-ori-harness). Takes no arguments. Treat it as reference material and confirm with the user before installing, signing in or running anything.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
List app rankingsOPENROUTER_MCP_LIST_APP_RANKINGSAcciónSee which APPS/products drive the most OpenRouter traffic, filterable by category, to gauge ecosystem adoption and find example use cases. For model rankings use list-daily-model-rankings instead.
OPENROUTER_MCP_LIST_APP_RANKINGSAcciónSee which APPS/products drive the most OpenRouter traffic, filterable by category, to gauge ecosystem adoption and find example use cases. For model rankings use list-daily-model-rankings instead.
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
List batchesOPENROUTER_MCP_LIST_BATCHESAcciónList batches in the workspace of the authenticating API key, newest first, with id, status, model, and per-request completed/failed counts. Use status to narrow to in-flight work (validating, in_progress) and after with the returned last_id to page. List items never include inline results; call get-batch for a single batch to read them.
OPENROUTER_MCP_LIST_BATCHESAcciónList batches in the workspace of the authenticating API key, newest first, with id, status, model, and per-request completed/failed counts. Use status to narrow to in-flight work (validating, in_progress) and after with the returned last_id to page. List items never include inline results; call get-batch for a single batch to read them.
Parámetros de entrada
afterstringCursor: the last_id from the previous page, to fetch the next page
limitintegerPage size, 1-100 (default 20)
statusstring[]Only include batches in these states, e.g. ["validating","in_progress"] for in-flight batches. Omit to list every status.
Parámetros de salida
dataobject[]ObligatorioobjectstringObligatoriolast_idstring | nullObligatoriofirst_idstring | nullObligatoriohas_morebooleanObligatorio
List benchmarksOPENROUTER_MCP_LIST_BENCHMARKSAcciónCompare model quality beyond price using third-party benchmarks. The optional source arg selects the dataset and the result shape: source=artificial-analysis returns each model's score on every Artificial Analysis index; source=design-arena returns head-to-head standings (elo, win rate) filterable by arena and category. Omit source to get results from all sources in one call. Optional task_type narrows to models scored for that workload, e.g. legal, engineering, cyber or decision. Attribute Artificial Analysis when republishing its scores; meta.citation has the wording when every item is its own.
OPENROUTER_MCP_LIST_BENCHMARKSAcciónCompare model quality beyond price using third-party benchmarks. The optional source arg selects the dataset and the result shape: source=artificial-analysis returns each model's score on every Artificial Analysis index; source=design-arena returns head-to-head standings (elo, win rate) filterable by arena and category. Omit source to get results from all sources in one call. Optional task_type narrows to models scored for that workload, e.g. legal, engineering, cyber or decision. Attribute Artificial Analysis when republishing its scores; meta.citation has the wording when every item is its own.
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
List daily model rankingsOPENROUTER_MCP_LIST_DAILY_MODEL_RANKINGSAcciónSee which MODELS are most used and trending by token volume, to pick a proven model. Optionally slice by period (day/week/month), modality, context_bucket, or by category / language_type (sampled weekly estimates). For app/product rankings use list-app-rankings instead.
OPENROUTER_MCP_LIST_DAILY_MODEL_RANKINGSAcciónSee which MODELS are most used and trending by token volume, to pick a proven model. Optionally slice by period (day/week/month), modality, context_bucket, or by category / language_type (sampled weekly estimates). For app/product rankings use list-app-rankings instead.
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
List image model endpointsOPENROUTER_MCP_LIST_IMAGE_MODEL_ENDPOINTSAcciónList the providers serving one image model, with each endpoint's supported parameters and billing rates (check each rate's unit).
OPENROUTER_MCP_LIST_IMAGE_MODEL_ENDPOINTSAcciónList the providers serving one image model, with each endpoint's supported parameters and billing rates (check each rate's unit).
Parámetros de entrada
requestobjectObligatorio
Parámetros de salida
Sin parámetros.
List image modelsOPENROUTER_MCP_LIST_IMAGE_MODELSAcciónList image models and the Image API parameters each supports; generate-image accepts only the subset in its own schema.
OPENROUTER_MCP_LIST_IMAGE_MODELSAcciónList image models and the Image API parameters each supports; generate-image accepts only the subset in its own schema.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
List model endpointsOPENROUTER_MCP_LIST_MODEL_ENDPOINTSAcciónSee which providers serve a given model and at what price, latency, throughput, and data-policy status, to choose routing or debug a slow provider.
OPENROUTER_MCP_LIST_MODEL_ENDPOINTSAcciónSee which providers serve a given model and at what price, latency, throughput, and data-policy status, to choose routing or debug a slow provider.
Parámetros de entrada
requestobjectObligatorio
Parámetros de salida
Sin parámetros.
List modelsOPENROUTER_MCP_LIST_MODELSAcciónList the live OpenRouter model catalog with pricing, context length, modalities, supported parameters, and benchmark scores, to pick a model and wire the right slug into code. Prefer the server-side params over fetching the full list and post-processing. Search/sort: q (free-text name/slug search), sort (pricing-low-to-high/high-to-low, context-high-to-low, throughput-high-to-low, latency-low-to-high, most-popular, top-weekly, newest, design-arena-elo-high-to-low, and <index>-high-to-low for any Artificial Analysis index, e.g. intelligence, legal or cyber). Filters: category (use case, e.g. programming), min_price/max_price (prompt $/M), min_output_price/max_output_price (completion $/M), context (minimum tokens), min_age_days/max_age_days (model age), min_intelligence_index/max (Artificial Analysis; for another index, sort by it and read the scores in the results), min_tool_success_rate/max (0-1), arch (model family), model_authors, providers (case-sensitive display names, e.g. Groq), input/output_modalities, supported_parameters, zdr, and region. Attribute Artificial Analysis when republishing its scores. Returns 20 models unless limit is set; total_count is the full match count. Video models show pricing 0 because per-second video prices are not in this API yet: check https://openrouter.ai/<model id>.
OPENROUTER_MCP_LIST_MODELSAcciónList the live OpenRouter model catalog with pricing, context length, modalities, supported parameters, and benchmark scores, to pick a model and wire the right slug into code. Prefer the server-side params over fetching the full list and post-processing. Search/sort: q (free-text name/slug search), sort (pricing-low-to-high/high-to-low, context-high-to-low, throughput-high-to-low, latency-low-to-high, most-popular, top-weekly, newest, design-arena-elo-high-to-low, and <index>-high-to-low for any Artificial Analysis index, e.g. intelligence, legal or cyber). Filters: category (use case, e.g. programming), min_price/max_price (prompt $/M), min_output_price/max_output_price (completion $/M), context (minimum tokens), min_age_days/max_age_days (model age), min_intelligence_index/max (Artificial Analysis; for another index, sort by it and read the scores in the results), min_tool_success_rate/max (0-1), arch (model family), model_authors, providers (case-sensitive display names, e.g. Groq), input/output_modalities, supported_parameters, zdr, and region. Attribute Artificial Analysis when republishing its scores. Returns 20 models unless limit is set; total_count is the full match count. Video models show pricing 0 because per-second video prices are not in this API yet: check https://openrouter.ai/<model id>.
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
List presetsOPENROUTER_MCP_LIST_PRESETSAcciónList the caller's saved presets (named bundles of model, system prompt, and sampling config created in the OpenRouter dashboard), ordered by most recently updated. Use to discover which presets exist and get their slugs; use get-preset to inspect one preset's full config.
OPENROUTER_MCP_LIST_PRESETSAcciónList the caller's saved presets (named bundles of model, system prompt, and sampling config created in the OpenRouter dashboard), ordered by most recently updated. Use to discover which presets exist and get their slugs; use get-preset to inspect one preset's full config.
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
List preset versionsOPENROUTER_MCP_LIST_PRESET_VERSIONSAcciónList the versions of one saved preset, oldest first, with each version's config bundle, to see how a preset changed or to pin a specific version. Returns 50 per page by default; advance offset until the versions returned reach total_count. Find slugs with list-presets; get-preset returns only the designated version.
OPENROUTER_MCP_LIST_PRESET_VERSIONSAcciónList the versions of one saved preset, oldest first, with each version's config bundle, to see how a preset changed or to pin a specific version. Returns 50 per page by default; advance offset until the versions returned reach total_count. Find slugs with list-presets; get-preset returns only the designated version.
Parámetros de entrada
requestobjectObligatorio
Parámetros de salida
Sin parámetros.
List providersOPENROUTER_MCP_LIST_PROVIDERSAcciónList available providers to configure allow/deny/routing preferences.
OPENROUTER_MCP_LIST_PROVIDERSAcciónList available providers to configure allow/deny/routing preferences.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
List task classificationsOPENROUTER_MCP_LIST_TASK_CLASSIFICATIONSAcciónSee what OpenRouter traffic is actually used for: a market-share breakdown by task type (code generation, web search, summarization, ...) over a trailing window, each with its top models by usage, plus macro-category (Code, Data, Agent, General) aggregates. Use to learn which models real usage favors for a given kind of work. All shares are fractions (0-1) of sampled traffic; absolute volumes are not exposed.
OPENROUTER_MCP_LIST_TASK_CLASSIFICATIONSAcciónSee what OpenRouter traffic is actually used for: a market-share breakdown by task type (code generation, web search, summarization, ...) over a trailing window, each with its top models by usage, plus macro-category (Code, Data, Agent, General) aggregates. Use to learn which models real usage favors for a given kind of work. All shares are fractions (0-1) of sampled traffic; absolute volumes are not exposed.
Parámetros de entrada
requestobject
Parámetros de salida
Sin parámetros.
PingOPENROUTER_MCP_PINGAcciónHealth-check tool that verifies the MCP connection is alive. Returns the text "pong" without calling OpenRouter or spending credits; use it once after connecting, not before every call.
OPENROUTER_MCP_PINGAcciónHealth-check tool that verifies the MCP connection is alive. Returns the text "pong" without calling OpenRouter or spending credits; use it once after connecting, not before every call.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
Search docsOPENROUTER_MCP_SEARCH_DOCSAcciónSearch the full OpenRouter documentation to answer "how do I…" questions with correct, current API usage. Each result includes a "View docs" link to the source page; if a result is marked truncated or you need the complete page, fetch that link or share it with the user.
OPENROUTER_MCP_SEARCH_DOCSAcciónSearch the full OpenRouter documentation to answer "how do I…" questions with correct, current API usage. Each result includes a "View docs" link to the source page; if a result is marked truncated or you need the complete page, fetch that link or share it with the user.
Parámetros de entrada
querystringObligatorioWhat to look up in the OpenRouter docs, e.g. "stream responses"
max_resultsintegerHow many doc sections to return
Parámetros de salida
Sin parámetros.
Send batchOPENROUTER_MCP_SEND_BATCHAcciónSubmit many inference requests as one asynchronous batch (Batch API) at discounted batch pricing with results within a 24-hour window. Use it for offline/bulk workloads (evals, backfills, classification over a dataset) that do not need an immediate answer; use send-message for a single interactive reply. Returns the batch id and initial status ("validating"); poll get-batch to follow it to completed/failed and read the results. Completed requests are billed to the authenticated user.
OPENROUTER_MCP_SEND_BATCHAcciónSubmit many inference requests as one asynchronous batch (Batch API) at discounted batch pricing with results within a 24-hour window. Use it for offline/bulk workloads (evals, backfills, classification over a dataset) that do not need an immediate answer; use send-message for a single interactive reply. Returns the batch id and initial status ("validating"); poll get-batch to follow it to completed/failed and read the results. Completed requests are billed to the authenticated user.
Parámetros de entrada
modelstringObligatorioModel slug every request runs on, e.g. "openai/gpt-6-astra"
endpointstringObligatorioenumAPI shape every request body in this batch targets, e.g. "/v1/chat/completions"
/v1/chat/completions/v1/responses/v1/messages/v1/embeddings/v1/audio/speechrequestsobject[]ObligatorioRequests to run (at most 1000 per call, 8 MB serialized); all share the same endpoint and model. Larger batches go to POST /api/v1/batches directly.
provider_onlystring[]Restrict routing to these provider slugs only, e.g. ["google-vertex"]
Parámetros de salida
idstringObligatorioerroranyObligatoriomodelstringObligatoriooutputobjectstatusstringObligatorioenumvalidatingin_progressfinalizingcompletedfailedexpiredcancellingcancelledresultsanyObligatorioendpointstringObligatoriorequest_countsobjectObligatorio
Send decisionOPENROUTER_MCP_SEND_DECISIONAcciónAsk a decision model typed questions about a piece of state and get calibrated answers with probabilities: yes/no (noul), pick-one (choice), rubric score (score) or image bounding box (box). Use for classification, gating, routing, grading and extraction; several questions can share one call. Not for generating text (use send-message). Bills the authenticated user and returns usage.
OPENROUTER_MCP_SEND_DECISIONAcciónAsk a decision model typed questions about a piece of state and get calibrated answers with probabilities: yes/no (noul), pick-one (choice), rubric score (score) or image bounding box (box). Use for classification, gating, routing, grading and extraction; several questions can share one call. Not for generating text (use send-message). Bills the authenticated user and returns usage.
Parámetros de entrada
modelstringObligatorioDecision model slug, e.g. "typesafe/jev-1.13"; search-docs "decisions" lists the current ones
stateanyObligatorioThe thing to decide about: a string, or a JSON object/array (which may contain {"type":"image_url","image_url":{"url":...}} parts for box questions)
providerobjectProvider routing preferences, same shape as the chat completions provider object
questionsobjectObligatorioMap of question id → question. Types: noul (yes/no with a probability), choice (pick one of criteria keys), score (index into an ordered rubric), box (bounding box in an image)
Parámetros de salida
idstringmodelstringObligatoriousageobjectObligatorioanswersobjectObligatorioproviderstring
Send feedbackOPENROUTER_MCP_SEND_FEEDBACKAcciónSubmit structured feedback on a specific generation the caller made — a category plus an optional comment. Use after a generation had a problem (wrong or incoherent output, latency, formatting, billing, or an API error) so the OpenRouter team can act on it. Requires the generation id, which get-generation and send-message both return. The comment can describe what was expected and what actually happened.
OPENROUTER_MCP_SEND_FEEDBACKAcciónSubmit structured feedback on a specific generation the caller made — a category plus an optional comment. Use after a generation had a problem (wrong or incoherent output, latency, formatting, billing, or an API error) so the OpenRouter team can act on it. Requires the generation id, which get-generation and send-message both return. The comment can describe what was expected and what actually happened.
Parámetros de entrada
requestobjectObligatorioStructured feedback about a specific generation
Parámetros de salida
Sin parámetros.
Send messageOPENROUTER_MCP_SEND_MESSAGEAcciónChat with a model and get its plain-text response, to test a prompt or compare models without leaving the editor. Model slug suffixes activate routing variants: ":online" enables web search (e.g. "deepseek/deepseek-v4-pro:online"), ":nitro" prioritizes throughput, ":floor" prioritizes lowest price, ":free" uses a free endpoint if one exists. For normal chats, omit "provider" and let the router choose. Set "provider" to pin the upstream provider only when you need zero variance, such as running evals or reproducing a result.
OPENROUTER_MCP_SEND_MESSAGEAcciónChat with a model and get its plain-text response, to test a prompt or compare models without leaving the editor. Model slug suffixes activate routing variants: ":online" enables web search (e.g. "deepseek/deepseek-v4-pro:online"), ":nitro" prioritizes throughput, ":floor" prioritizes lowest price, ":free" uses a free endpoint if one exists. For normal chats, omit "provider" and let the router choose. Set "provider" to pin the upstream provider only when you need zero variance, such as running evals or reproducing a result.
Parámetros de entrada
modelstringObligatorioModel slug, e.g. "openai/gpt-4o-mini"
systemstringOptional system prompt sent as the first message with role "system"; sets persona, rules and output format. Leave unset for a plain user message.
messagestringObligatorioThe user message to send
providerobjectProvider routing preferences. Leave this unset for normal chats so the router picks the best provider. Set it ONLY when the request needs zero provider variance — running evals, benchmarking, or reproducing a result — because providers differ in quantization, throughput, and sampling, so the same model can return different outputs depending on who serves it. To hard-pin one provider: { only: ["fireworks"], allow_fallbacks: false }.
max_tokensintegerCap the total tokens generated (including reasoning). The single most effective lever to stop a reasoning model from running unbounded on a hard prompt. Omit for the model default.
timeout_msintegerAbort the call locally after this many milliseconds. Returns a typed client_timeout error with elapsed_ms. If the timeout fires before any response, no generation id is available; if it fires while reading the response body, the generation may have completed upstream and been billed. Omit to wait for the default gateway timeout.
reasoning_effortstringenumHow hard a reasoning model should think: "max" | "xhigh" | "high" | "medium" | "low" | "minimal" | "none". Omit to use the model's own default. Use a lower value to cap cost/latency on reasoning models that over-think, or a higher value for hard prompts. Non-reasoning models ignore it. Discover a model's supported/default efforts via list-models or get-model.
maxxhighhighmediumlowminimalnone
Parámetros de salida
Sin parámetros.
Spawn ori evalOPENROUTER_MCP_SPAWN_ORI_EVALAcciónReturn OpenRouter's published guide for running model evaluations with the Ori harness (also at https://openrouter.ai/skills/spawn-ori-eval). Takes no arguments. The guide describes installing and running a separate CLI; treat it as reference material and confirm with the user before installing or running anything.
OPENROUTER_MCP_SPAWN_ORI_EVALAcciónReturn OpenRouter's published guide for running model evaluations with the Ori harness (also at https://openrouter.ai/skills/spawn-ori-eval). Takes no arguments. The guide describes installing and running a separate CLI; treat it as reference material and confirm with the user before installing or running anything.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
Transcribe audioOPENROUTER_MCP_TRANSCRIBE_AUDIOAcciónTranscribe speech from an audio file to text. Pass exactly one of audio_url (preferred; fetched server-side) or audio_base64. Returns the transcript plus the cost and generation id. This bills the authenticated user. Find STT models via list-models with output_modalities=transcription.
OPENROUTER_MCP_TRANSCRIBE_AUDIOAcciónTranscribe speech from an audio file to text. Pass exactly one of audio_url (preferred; fetched server-side) or audio_base64. Returns the transcript plus the cost and generation id. This bills the authenticated user. Find STT models via list-models with output_modalities=transcription.
Parámetros de entrada
modelstringObligatorioSTT model slug, e.g. "openai/whisper-large-v3"
formatstringenumAudio container format. Required with audio_base64; inferred from the URL or Content-Type otherwise.
wavmp3flacm4aoggwebmaacdiarizebooleanLabel speakers; the transcript is rendered one line per speaker turn. Only models that support diarization (e.g. ElevenLabs Scribe) honor it.
languagestringISO-639-1 language hint (e.g. "en", "ja"). Auto-detected if omitted.
audio_urlstringHTTPS URL of the audio file to transcribe. Passed to the model when it can fetch URLs itself (no size limit), otherwise fetched server-side (max 25 MB). URLs without an audio file extension are always fetched server-side unless format is set. Preferred over audio_base64.
timestampsstringenumReturn timestamped "segment"s or "word"s in structuredContent (verbose_json). Omit for plain text.
segmentwordaudio_base64stringBase64-encoded audio bytes, for small clips only. Requires format.
Parámetros de salida
textstringObligatoriomodelstringObligatoriousageanywordsanydurationnumber | nulllanguagestring | nullsegmentsanytruncatedstring[]generation_idstring | null