windows_network
List, add, or delete Windows firewall rules, and diagnose network connectivity issues using netsh/PowerShell commands.
Instructions
Perform Windows networking and firewall operations with specialized orchestration.
RATIONALE: Consolidates complex 'netsh' and PowerShell networking commands into a single portmanteau. Enables autonomous security auditing and perimeter hardening.
Args: action: The networking operation to perform. rule_name: Name of the firewall rule. rule_dir: Direction of the traffic (in/out). rule_action: Action (allow/block). rule_program: Path to the executable (for firewall_add). rule_port: Local port number (for firewall_add). ctx: FastMCP Context for telemetry and sampling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| rule_name | No | ||
| rule_dir | No | in | |
| rule_action | No | allow | |
| rule_program | No | ||
| rule_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||