Home / Servers / Linode API / put_firewall_rules
Update firewall rules
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Update firewall rules Updates the inbound and outbound Rules for a Firewall. - Assigned Linodes must not have any ongoing live migrations. - __Note__. This operation replaces all of a Firewall's inbound and outbound… [PUT /v4/networking/firewalls/{firewallId}/rules]
Name on the gateway: linode_api__put_firewall_rules · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
firewallId required | integer | ID of the Firewall to access. |
fingerprint | string | __Read-only__ The fingerprint is a 32-bit hash. It represents the firewall… |
inbound | string | |
inbound_policy | ACCEPT | DROP | The default behavior for inbound traffic. This setting can be overridden by… |
outbound | string | |
outbound_policy | ACCEPT | DROP | The default behavior for outbound traffic. This setting can be overridden by… |
version | integer | __Read-only__ The firewall's rule version. The first version is 1. The version… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "linode_api__put_firewall_rules",
"arguments": {
"firewallId": 0
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update firewall rules tool with firewallId set to ….