pack
Create a tarball from a local package directory to preview files that would be published to npm. Optionally dry-run to list files without creating a tarball.
Instructions
Create a tarball from a package (preview what would be published)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| dryRun | No | List files without creating tarball |