S
Blackhole for Bad Bots Content

Set custom HTTP Status Code

Set custom HTTP Status Code

What it does

Set custom HTTP Status Code It is one of the abilities the Blackhole for Bad Bots 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_posts

How an agent calls it

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

blackhole-bad-bots.set-custom-http-status-code
{
  "ability": "blackhole-bad-bots.set-custom-http-status-code",
  "args": { "input": ... }
}

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

Keep exploring

More Blackhole for Bad Bots abilities

All Blackhole for Bad Bots abilities β†’
C
Customize the message displayed to bad bots πŸ˜‰
Blackhole for Bad Bots
Customize the message displayed to bad bots πŸ˜‰
B
Block bots based on user agent
Blackhole for Bad Bots
Block bots based on user agent
B
Block bots based on IP address
Blackhole for Bad Bots
Block bots based on IP address
R
Redirect whitelisted bots
Blackhole for Bad Bots
Redirect whitelisted bots