lookup_dictionary
Check whether a Chinese expression has recorded figurative usage or is a creative neologism by looking it up in CC-CEDICT with tags for figurative, slang, and idiom markers.
Instructions
Look up a Chinese word or phrase in CC-CEDICT (12.5万条目,含简繁双码), optionally augmented by a project whitelist. Returns definitions, pinyin, and structured tags (has_figurative / is_neologism / is_slang / has_idiom_marker / has_literal_only).
Use cases:
Detect whether a Chinese figurative expression has been lexicalized (dead metaphor → intended sense in dictionary) or is creative (live metaphor → not in dictionary).
Verify neologisms / slang acceptability.
Look up idiom (成语 / 典故) figurative senses.
Returns JSON with: word, found_in_cedict, found_in_whitelist, simplified, traditional, pinyin, definitions, tags, whitelist_note.
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": {
"word": "<word>"
},
"name": "lookup_dictionary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | Chinese word or phrase (simplified or traditional accepted) |