npm_list
List installed npm packages, with options to show dependency depth or globally installed packages.
Instructions
List installed npm packages.
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": "npm_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Dependency depth to show (0 = top-level only). | |
| global_packages | No | If True, list globally installed packages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||