mock_rule_get
Retrieve a single mock rule by host and rule ID, including the stored fixture for fixture rules. Use it to inspect existing Map Local/Remote configurations.
Instructions
Show one rule document and, for fixture rules, the stored fixture.
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": {
"host": "<host>",
"rule_id": "<rule_id>"
},
"name": "mock_rule_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Rule host: "*" (any routed host), a glob such as *.example.com, or a hostname. | |
| rule_id | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixture | No | ||
| rule_json | Yes | ||
| fixture_truncated | No |