search_cards
Search Chinese Magic: The Gathering cards using advanced query syntax with pagination, sorting, and filtering options for precise results.
Instructions
通过查询字符串搜索卡牌,支持分页和排序。
查询语法示例:
t:creature c:r(红色生物)pow>=5 or mv<2(力量大于等于5或法术力值小于2)o:"draw a card" -c:u(包含"抓一张牌"的非蓝色牌)(t:instant or t:sorcery) mv<=3(3费或以下的瞬间或法术)
分页参数:
page: 页码 (整数, 默认 1)page_size: 每页数量 (整数, 默认 20, 最大 100)
排序参数:
order: 按字段排序,逗号分隔。前缀-表示降序 (例如:name,-mv,name,-rarity) 默认排序:name
其他参数:
unique: 去重方式 (id, oracle_id, illustration_id)priority_chinese: 是否优先显示中文卡牌
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| page | No | ||
| page_size | No | ||
| order | No | ||
| unique | No | ||
| priority_chinese | No |