B
Wordfence Security - Firewall, Malware Scan, and Login Security Content

Block attackers by IP or build advanced rules based on IP

Block attackers by IP or build advanced rules based on IP Range, Hostname, User Agent and Referrer.

What it does

Block attackers by IP or build advanced rules based on IP Range, Hostname, User Agent and Referrer. It is one of the abilities the Wordfence Security - Firewall, Malware Scan, and Login Security plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

🔒 edit_users

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

wordfence.block-attackers-by-ip-or-build-advanced-
{
  "ability": "wordfence.block-attackers-by-ip-or-build-advanced-",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Wordfence Security - Firewall, Malware Scan, and Login Security abilities

All Wordfence Security - Firewall, Malware Scan, and Login Security abilities →
M
Monitor events and actions ranging from user creation and
Wordfence Security - Firewall, Malware Scan, and Login Security
Monitor events and actions ranging from user creation and editing to plugin/theme installation and updates to post and page changes.
T
Track and alert on important security events including
Wordfence Security - Firewall, Malware Scan, and Login Security
Track and alert on important security events including administrator logins, breached password usage and surges in attack activity.