get_raw_rule
Retrieve detailed information about a specific /ip firewall raw rule by RouterOS internal ID or print position to inspect its configuration.
Instructions
Gets detailed information about a specific /ip firewall raw rule.
Notes: rule_id: a RouterOS internal id ("*1A") or a print position ("0").
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": {
"rule_id": "<rule_id>"
},
"name": "get_raw_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| rule_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |