Suggest cryptogram solutions
solve_cryptogramUse this when the user is stuck on a cryptogram or cryptoquote (cryptoquote help, cryptogram solver) and gives the enciphered text. Returns up to 3 candidate readings ranked against an English word list of about 25,000 words, the letter key for the top reading, the letters still open, and a confidence of high, medium or low with the reason. Pass letters already known (a printed clue) in known_letters. Short texts, names and rare words lower the confidence, and the tool says so; report that confidence to the user. English only; does not solve number or symbol ciphers, Caesar shifts with a shown key, or today's newspaper puzzle without its text.
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": {
"ciphertext": "<ciphertext>"
},
"name": "solve_cryptogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ciphertext | Yes | The enciphered text exactly as printed, including punctuation and the author line. Example: "GSV JFRXP YILDM ULC QFNKH LEVI GSV OZAB WLT." | |
| known_letters | No | Letters already known, e.g. a printed clue. Example: [{"cipher":"Q","plain":"T"}] or "Q=T, X=E" | |
| allow_self_mapping | No | Allow a letter to stand for itself (default false; most cryptograms forbid it). Example: false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| best | Yes | ||
| notes | Yes | ||
| reason | Yes | ||
| candidates | Yes | ||
| confidence | Yes | ||
| known_letters | Yes | ||
| uncertain_words | Yes | ||
| unresolved_letters | Yes |