Extract and normalize numbers, amounts, dates and times from Japanese text
jp_number_extractExtracts every quantity from Japanese text and returns its normalized value, covering kanji numerals, 万/億 units, dates, times, rates, counters, and era years while skipping number-like words.
Instructions
List every quantity in a Japanese text with its normalized value: kanji numerals, 万/億 units, full-width digits, Japanese era years (令和/平成/昭和, R7), dates, 午前/午後 times, 割/分 rates, counters (人, 名, 件, 社, 回, か月 ...). Skips words that only look like numbers (一宮, 統一, 一部, 万一). Returns facts with kind, text, normalized, value, unit, approx, issues.
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": {
"text": "<text>"
},
"name": "jp_number_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |