Annotate a passage
annotate_passageEvery word of a Japanese or English passage as a row, in one call: the word as the passage writes it and where it sits, its language, its base form (the headword lookup_word takes), the kana reading chosen with the other readings the written form has, the inflected form it is written in with polarity and tone, the headword's pitch accent, how common the word is in five bands, its word class and the entry's first gloss. Call it before you say, teach or correct a sentence, rather than splitting it into words and looking each one up: a word is the longest run the dictionary holds as one written form, so 見に行きました is one row with its form named. The reading is the one chosen for the word, not a promise for a homograph: when it matters, read other_readings. The gloss is the entry's first, not the sense the passage uses; lookup_word has every sense. A word with no entry, a name for example, is a row with a null headword. passage is at most 500 characters: send a longer passage a few sentences at a time.
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": {
"passage": "<passage>"
},
"name": "annotate_passage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passage | Yes | The text as written, Japanese, English or both, at most 500 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | A row for each word, in the order the passage writes them. Punctuation and symbols have no row | |
| characters | Yes | The characters the passage has, each drawn from the balance |