npx_run
Run npm packages via npx with optional arguments and a timeout, allowing direct execution of CLI tools without global installation.
Instructions
Execute a command with npx.
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": {
"command": "<command>"
},
"name": "npx_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional arguments. | |
| command | Yes | The npx command or package to run. | |
| timeout | No | Execution timeout in seconds. Default: 120. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||