List firewall rules
list_firewall_rulesList the firewall rules of this environment: which inbound ports its machines accept, over TCP or UDP, and from which addresses (sources). Everything else is closed. A new environment allows only SSH (port 22) from anywhere. Changes reach running machines within about a minute. A machine started before the firewall existed shows firewall.status "unmanaged" in get_instance and keeps its ports as they were until it is started again. An HTTPS link to a web app on an instance is create_instance_link, not a firewall rule.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_firewall_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |