FusionPlugin - Go SDK

FusionPlugin type definition

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

Fields

FieldTypeRequiredDescriptionExample
AnalysisModels[]stringSlugs of models to run in parallel as the “expert panel” the judge analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-latest, ~google/gemini-pro-latest).[
“~anthropic/claude-opus-latest”,
“~openai/gpt-latest”,
“~google/gemini-pro-latest”
]
Enabled*boolSet to false to disable the fusion plugin for this request. Defaults to true.
IDcomponents.FusionPluginID✔️N/A
MaxToolCalls*int64Maximum 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
Model*stringSlug of the model that performs both the judge step (with web_search + web_fetch) and the final synthesis. When omitted, defaults to the first model in the Quality preset.~anthropic/claude-opus-latest
Tools[]components.FusionPluginToolServer 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"}
]