FusionServerToolConfig - TypeScript SDK

FusionServerToolConfig type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Configuration for the openrouter:fusion server tool.

Example Usage

1import { FusionServerToolConfig } from "@openrouter/sdk/models";
2
3let value: FusionServerToolConfig = {};

Fields

FieldTypeRequiredDescriptionExample
analysisModelsstring[]Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then a judge model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion.[
“~anthropic/claude-opus-latest”,
“~openai/gpt-latest”,
“~google/gemini-pro-latest”
]
maxCompletionTokensnumberMaximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, the provider’s default applies.16384
maxToolCallsnumberMaximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16.12
modelstringSlug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer API request.~anthropic/claude-opus-latest
reasoningmodels.FusionServerToolConfigReasoningReasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking.
temperaturenumberSampling temperature forwarded to panelist and judge inner calls. When omitted, the provider’s default applies.0.7
toolsmodels.FusionServerToolConfigTool[]Server tools available to panelist and judge inner calls. Each entry uses the same { type, parameters? } shorthand as the outer Chat Completions request. When omitted, defaults to [{ type: “openrouter:web_search” }, { type: “openrouter:web_fetch” }]. Pass an empty array to disable tools entirely (panelists answer from parametric knowledge only).[
{"parameters": {"excluded_domains": ["example.com"]},
“type”: “openrouter:web_search”
},
{"type": "openrouter:web_fetch"}
]