Convert UF to pesos
convert_uf_to_clpConverts an amount in UF to Chilean pesos (CLP) using the official UF value for a specified date (YYYY-MM-DD), returning whole pesos rounded half up.
Instructions
Converts an amount in UF to CLP using the UF value of the given date (YYYY-MM-DD). Whole pesos, round half up.
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": {
"amount_uf": "<amount_uf>",
"date": "<date>"
},
"name": "convert_uf_to_clp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| amount_uf | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clp | Yes | ||
| date | No | ||
| fuente | No | ||
| uf_value | No | ||
| amount_uf | No | ||
| is_sample | Yes |