retrieve_preset_rules
Fetches all firewall preset rules from the Contabo API, with optional filtering, ordering, and pagination to support rule selection.
Instructions
Get all preset rules [GET /v1/firewalls/preset-rules]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "retrieve_preset_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of preset rule | |
| page | No | Number of page to be fetched. | |
| size | No | Number of elements per page. | |
| orderBy | No | Specify fields and ordering (ASC for ascending, DESC for descending) in following format `field:ASC|DESC`. | |
| x-trace-id | No | Identifier to trace group of requests. |