Adjust an amount by an Argentine index
adjust_amount_by_indexAdjust a positive decimal amount between two dates or months by CER, UVA, UVI, or an IPC. The result is a decimal string rounded half up to cents. ICL returns unsupported_index.
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": {
"index": "<index>",
"amount": "<amount>",
"from": "<from>",
"to": "<to>"
},
"name": "adjust_amount_by_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Civil date YYYY-MM-DD or month YYYY-MM. | |
| from | Yes | Civil date YYYY-MM-DD or month YYYY-MM. | |
| index | Yes | CER, UVA, UVI, national IPC, or a regional IPC. ICL is not available. | |
| amount | Yes | Positive decimal amount. Use a period as the separator. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| sources | Yes | ||
| source_url | Yes | ||
| legal_reference | Yes |