csf_search_ip
Check if an IP address is blocked by CSF/iptables/LFD and see the reason for the block.
Instructions
Search CSF/iptables/LFD for an IP (csf -g). Shows why it is blocked.
Args: ip: IPv4 or IPv6 address.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>"
},
"name": "csf_search_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |