rules_lookup
Search MTG Comprehensive Rules by number or keyword. Retrieves rule text with context from parent and subrules.
Instructions
Look up MTG Comprehensive Rules by number or keyword search.
Returns matching rules with full text, parent context, and subrules.
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": {
"query": "<query>"
},
"name": "rules_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rules to return from a keyword search (default 100, max 200) | |
| query | Yes | Rule number (e.g. '704.5k') or keyword to search for | |
| section | No | Narrow search to a section (e.g. 'combat', 'stack', 'lands', 'state-based') | |
| response_format | No | Output verbosity: 'detailed' (default) or 'concise' | detailed |