Get Shared Chunks
get_shared_chunksRank the heaviest shared chunks in a loaded Next.js build and show which routes depend on them to target bundle size reductions.
Instructions
Rank the heaviest shared chunks in a loaded Next.js build and show which routes depend on them.
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": "get_shared_chunks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many shared chunks to include. Defaults to 10. | |
| buildId | No | Build ID returned from load_build_stats. Omit to list loaded builds. |