enrich_amount_v1_enrich_amount_post
Extract precise monetary amounts and ISO currency codes from messy text strings, with options for context-aware currency targeting and locale-specific parsing.
Instructions
Extracts precise financial data from messy strings. Identifies numeric values, ISO currency codes, and symbols. Supports Context-Aware currency targeting.
Cost: 1 credit per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| decimal_mark | No | Force a specific decimal separator character ('.' or ','). Auto-detected if null. | |
| amount_string | Yes | A messy string containing a monetary amount, currency symbols, and text noise. USE THIS TOOL to extract precise 'float' values and currency codes from unstructured text. NEGATIVE CONSTRAINT: DO NOT attempt to parse currency symbols or decimal marks manually; this tool handles all global symbols. DO NOT use this tool for non-monetary numbers like IDs or phone numbers. |