Fuse
Reference

Tools Reference

Parameters and defaults for the eight MCP tools the Fuse server exposes to AI clients.

The Fuse MCP server exposes eight tools an AI client can call to request scoped, reduced codebase context. MCP (Model Context Protocol) is the open protocol that lets an AI client call external tools. This page documents each tool and its parameters so that an agent or its author can choose the right call and supply correct arguments.

This page is for engineers writing agent instructions and for experts who need the exact default of each parameter.

Purpose and Scope

Every tool here is read-only and runs its fusion in memory, returning the result in the tool response rather than writing a file. Each tool maps to an equivalent CLI invocation; the flag forms are documented in Options Reference. For the recommended order in which to call these tools, see Recommended Workflows. For passive reads through URIs, see Resources Reference.

The three scoping parameters (focus, changedSince, and query) are mutually exclusive. A single fusion uses at most one of them.

The scoping tools share one retrieval engine, documented in Scoping Internals. Three behaviors are worth knowing when calling them. Focus pulls in both the files a seed depends on and the files that depend on it (its dependents), so a seed reaches its callers as well as its callees. Search ranks with BM25F, weighting a file's declared type and member names and its path above its body, so the file that declares a concept ranks above files that merely mention it. When maxTokens is set, the result is emitted most-relevant first, so the files closest to the seed survive the limit.

fuse_toc

Table of contents (directory tree, symbol outline, per-file token costs) instead of file bodies. The cheapest first call: survey the codebase, then fetch specific files.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
excludeTestProjectsboolfalseSkip all test project directories

fuse_ask

Give a task and a token budget; Fuse picks the scoping strategy and packs the context to the budget. One call instead of survey-then-scope. The strategy is chosen from the task text: a broad question maps to a skeleton, a task naming one type maps to focus on that type, and anything else maps to search. Focus falls back to search when the named type does not resolve.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
taskstringrequiredWhat you need to do or find, in natural language
tokenBudgetint20000Maximum tokens the returned context may use
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
excludeTestProjectsboolfalseSkip all test project directories

The result is prefixed with a one-line note naming the chosen strategy.

fuse_skeleton

Structural skeleton only (signatures, no bodies). Cold-start architecture review.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
excludeTestProjectsboolfalseSkip all test project directories
semanticMarkersboolfalsePrepend structural annotation comments
publicApiboolfalseKeep only public and protected member skeletons
maxTokensintnullHard token limit, or unlimited
trackTopTokenFilesboolfalseAppend the top token-consuming files to the stats comment

This tool always emits a skeleton (signatures, no bodies). Set publicApi to true to narrow the skeleton to public and protected members only.

fuse_focus

Scope to a type, file, or path plus dependency traversal.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
focusstringrequiredType name, filename, or path used as the seed
depthint1Dependency hops to traverse out from the seed
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
excludeTestProjectsboolfalseSkip all test project directories
levelnone | standard | aggressive | skeleton | publicApinoneC# structural reduction level
maxTokensintnullHard token limit, or unlimited
trackTopTokenFilesboolfalseAppend the top token-consuming files to the stats comment
sessionstringnullSession id: omit files already returned under this id earlier in the session

A focus of the form Type.Member scopes the seed file to that member when the precision tier is active (the server is started with FUSE_SEMANTIC).

BM25F query-scoped fusion plus dependency expansion.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
querystringrequiredNatural-language or keyword query, ranked with BM25F
queryTopint10Number of top-ranked files used to seed dependency expansion
depthint1Dependency hops to traverse out from the seed files
rerankboolfalseRerank the BM25 candidates with embedding-vector similarity (hybrid retrieval)
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
excludeTestProjectsboolfalseSkip all test project directories
levelnone | standard | aggressive | skeleton | publicApinoneC# structural reduction level
maxTokensintnullHard token limit, or unlimited
trackTopTokenFilesboolfalseAppend the top token-consuming files to the stats comment
sessionstringnullSession id: omit files already returned under this id earlier in the session

fuse_changes

Files changed since a git ref plus optional dependents.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
changedSincestringrequiredGit ref (branch, commit, or HEAD~N) to diff against
includeDependentsbooltrueAlso include first-degree dependents of the changed files
reviewboolfalsePrepend a review map: diff hunks and direct callers for each changed file
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
excludeTestProjectsboolfalseSkip all test project directories
levelnone | standard | aggressive | skeleton | publicApinoneC# structural reduction level
maxTokensintnullHard token limit, or unlimited
trackTopTokenFilesboolfalseAppend the top token-consuming files to the stats comment

fuse_dotnet

Full-control .NET fusion with all options.

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
includeExtensionsstring[]nullExtensions to add on top of the DotNet template defaults
excludeExtensionsstring[]nullExtensions to remove from the DotNet template defaults
onlyExtensionsstring[]nullExtensions to use exclusively, ignoring template defaults
maxFileSizeKbint0Maximum file size in KB; 0 means unlimited
excludeTestProjectsboolfalseSkip all test project directories
excludeUnitTestProjectsboolfalseSkip only unit test project directories
levelnone | standard | aggressive | skeleton | publicApinoneC# structural reduction level
semanticMarkersboolfalsePrepend structural annotation comments
focusstringnullType name, filename, or path to scope around
depthint1Dependency traversal depth for focus and query scoping
changedSincestringnullGit ref to scope to changed files
includeDependentsbooltrueInclude first-degree dependents of changed files
querystringnullBM25 query to scope fusion
queryTopint10Number of top-ranked seed files for query scoping
patternSummaryboolfalseDetect and append a cross-codebase pattern summary
collapseGeneratedboolfalseCollapse EF Core migration and model-snapshot bodies to signatures
maxTokensintnullHard token limit, or unlimited
trackTopTokenFilesboolfalseAppend the top token-consuming files to the stats comment
gitStatsboolfalseInclude git churn stats in the manifest

fuse_generic

Generic fusion for any template (Python, Go, Rust, and others).

ParameterTypeDefaultMeaning
pathstringrequiredSource directory to fuse
templatestringnullTemplate name; null infers the template from the directory
excludeDirectoriesstring[]nullDirectory names to skip
excludeFilesstring[]nullFile names to exclude
excludePatternsstring[]nullGlob patterns to exclude
includeExtensionsstring[]nullExtensions to add on top of the template defaults
excludeExtensionsstring[]nullExtensions to remove from the template defaults
onlyExtensionsstring[]nullExtensions to use exclusively, ignoring template defaults
maxFileSizeKbint0Maximum file size in KB; 0 means unlimited
excludeTestProjectsboolfalseSkip all test project directories
changedSincestringnullGit ref to scope to changed files
includeDependentsbooltrueInclude first-degree dependents of changed files
maxTokensintnullHard token limit, or unlimited
trackTopTokenFilesboolfalseAppend the top token-consuming files to the stats comment
gitStatsboolfalseInclude git churn stats in the manifest

What This Does Not Cover

This page documents tool parameters and defaults. It does not cover the resource URIs, the call sequence, or the output structure. See Resources Reference for URI reads, Recommended Workflows for the call order, and Output Specification for the response format. The CLI flag equivalent of each parameter is in Options Reference.

Next

Continue to Resources Reference for the passive URI reads, or to Options Reference for the matching command-line flags.

On this page