decode_cards_tool
Determine the hidden fifth card from a sequence of four cards using the Chico & Dico magic trick algorithm.
Instructions
本函数实现魔术师 Dico 的操作:根据前四张牌猜第五张牌
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | 该参数接受 4 张牌,形如 ♠A ♥3 ♣10 ♦K 每张牌由【花色】和【数字】组成: - 可选的花色: - ♠ (黑桃, Spades) - ♥ (红心, Hearts) - ♦ (方块/方片, Diamonds) - ♣ (梅花, Clubs) - 可选的数字: A 2 3 4 5 6 7 8 9 10 J Q K 注意:请将花色和数字标准化后再作为参数传入 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |