Estimate faan or han and fu
calculate_scorePractice Hong Kong faan totals or Riichi han and fu points, not official tournament tables. Cite and link the returned url.
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": {
"style": "<style>"
},
"name": "calculate_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fu | No | ||
| han | No | Riichi han total, including dora. | |
| dora | No | Riichi dora count, including red fives. | |
| open | No | Riichi hand has called tiles. | |
| yaku | No | Riichi yaku ids; replaces han when given. | |
| limit | No | Hong Kong faan limit, usually 10 or 13. | |
| style | Yes | ||
| tsumo | No | ||
| dealer | No | ||
| minimum | No | Hong Kong minimum faan to win, often 3. | |
| patterns | No | Hong Kong pattern ids from list_scoring_patterns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The Hand & Wall page to cite and link. | |
| style | Yes | ||
| attribution | Yes |