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

NameTypeDescription
firewallId requiredintegerID of the Firewall to access.
fingerprintstring__Read-only__ The fingerprint is a 32-bit hash. It represents the firewall…
inboundstring
inbound_policyACCEPT | DROPThe default behavior for inbound traffic. This setting can be overridden by…
outboundstring
outbound_policyACCEPT | DROPThe default behavior for outbound traffic. This setting can be overridden by…
versioninteger__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:

call_tool arguments
{
  "name": "linode_api__put_firewall_rules",
  "arguments": {
    "firewallId": 0
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
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 ….

More from Linode API