block_program
Blocks a program from network access on Windows via firewall rules, isolating specific applications; on Linux it refuses, so use connection-level blocking instead.
Instructions
Blocks a program from the network on Windows (firewall rules that unblock_program removes). On Linux it always refuses, so do not call it there: Linux firewalls filter by address, port and user rather than by program. close_connection cuts a single connection instead.
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": "block_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The program's full path (get_process gives it). |