approve_command
Approve or deny terminal commands that require permission when using manual approval mode in the Host Terminal MCP server for safe command execution.
Instructions
Approve a command that requires permission. This is used when permission_mode is 'ask' and a command is not in the allow list. The command will be approved for this session only.
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>",
"approve": "<approve>"
},
"name": "approve_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The exact command to approve | |
| approve | Yes | Whether to approve (true) or deny (false) the command |