query_rules
Search and retrieve specific Magic: The Gathering rules and clarifications by query, section, or context lines for precise rule interactions.
Instructions
Search Magic: The Gathering comprehensive rules for specific interactions and rule clarifications
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": "query_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_lines | No | Lines of context around matches | |
| exact_match | No | Require exact phrase matching | |
| query | Yes | Search term or rules question | |
| section | No | Specific rule section (e.g., "7" for Additional Rules) |