Fuse
Scenarios

Context for an agent on a large codebase

Give an AI agent the context it needs by starting wide and narrowing, so each request stays inside the token budget.

Goal: hand an AI agent the context for a task on a large .NET codebase without spending its window on files the task does not touch.

The principle is to start wide and narrow: a cheap map first, then a scoped drill-in. Each step is one MCP tool call that returns scoped, reduced context.

The sequence

  1. Survey. Call fuse_toc first. It returns a directory tree with per-file token costs and a symbol outline, a low-token map of the whole codebase that also tells the agent what fetching each file would cost. Use fuse_skeleton instead when you want signatures rather than an outline.
  2. Drill in. When the agent knows the area by name, call fuse_focus with the seed. When it has a topic but not a name, call fuse_search with the query. Both expand from the seed through the dependency graph.
  3. Review changes. For a pull request, call fuse_changes with the base branch as the git ref, and set review to true for diff hunks and direct callers per changed file.
  4. Full control. When you need options the workflow tools do not expose, call fuse_dotnet.

Example call sequence

fuse_skeleton(path="C:/Projects/MyApp/src", maxTokens=80000)
fuse_focus(path="C:/Projects/MyApp/src", focus="OrderService", depth=1, maxTokens=150000)
fuse_changes(path="C:/Projects/MyApp/src", changedSince="origin/main", maxTokens=100000)

The first call orients the agent, the second pulls the order-processing area and its dependencies, and the third scopes a later review to the branch under review.

Budget guidance

StageToolTypical tokens
Surveyfuse_toc5,000 to 30,000
Architecture mapfuse_skeleton50,000 to 100,000
Focused drill-infuse_focus or fuse_search100,000 to 200,000
Change reviewfuse_changes50,000 to 150,000
Full fusionfuse_dotnet --all200,000 to 800,000

Shortcut: ask once

fuse_ask collapses the survey and drill-in: give it a task and a token budget and it chooses skeleton, focus, or search and packs to budget. See Ask one question. Across calls in one task, pass a session id to fuse_focus and fuse_search so files already returned are not sent again.

When to use it

Use this progressive flow on any codebase too large to hand an agent whole. On a small project, one fuse_dotnet call is simpler.

The tool parameters are in the MCP tools reference, and the modes behind them in Scoping.

On this page