Compare Builds
compare_buildsCompare two Next.js builds to see which routes and chunks grew or shrank, revealing bundle changes.
Instructions
Compare two loaded Next.js builds and show which routes and chunks grew or shrank the most.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_builds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many route and chunk deltas to include. Defaults to 10. | |
| currentBuildId | No | Current build ID from load_build_stats. Omit to list loaded builds. | |
| baselineBuildId | No | Baseline build ID from load_build_stats. Omit to list loaded builds. |