authorize_install_command
Check agent-generated npm, PyPI or crates.io install commands before they run; block nonexistent, newly registered or typosquatted package names.
Instructions
Authorize an agent-generated install command before it reaches a package manager.
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": "authorize_install_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Package-manager install command to evaluate. | |
| allow_review | No | Explicitly permit REVIEW after a human approval step. | |
| new_package_policy | No | Policy for very new packages. |