get_candidates
Retrieve registered candidate words for crossword clues using the clue ID to access previously stored word options for puzzle solving.
Instructions
登録済みの候補語リストを取得する。
Args:
clue_id (str): 取得対象のカギ ID。事前に register_candidates
で候補を登録して
いる必要がある。
Returns: list[str]: 登録済み候補語のリスト。登録時に渡した文字列を順序どおりに返す。
Raises:
ValueError: clue_id
が空の場合。
KeyError: 指定した clue_id
の候補が未登録の場合。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clue_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"clue_id": {
"type": "string"
}
},
"required": [
"clue_id"
],
"type": "object"
}