live · AI Agents & Fintech · JSON · API for agents
Returns the latest supported currency rates in DZD and optional official EUR rates.
{
"name": "get-latest-exchange-rates",
"kind": "read",
"impl": "imperative",
"description": "Returns the latest supported currency rates in DZD and optional official EUR rates.",
"inputSchema": {
"type": "object",
"properties": {
"currencyCodes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"EUR",
"USD",
"GBP",
"CAD",
"CNY",
"TRY",
"CHF",
"SAR",
"AED",
"TND",
"MAD",
"DZD"
]
},
"description": "Optional list of currency codes to return. Defaults to all supported currencies."
},
"includeOfficial": {
"type": "boolean",
"description": "Whether to include the official EUR rate in the response.",
"default": true
}
},
"required": []
}
}Convert amounts between DZD and supported currencies using the latest buy or sell rates.
{
"name": "convert-currency",
"kind": "action",
"impl": "imperative",
"description": "Convert amounts between DZD and supported currencies using the latest buy or sell rates.",
"inputSchema": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"description": "Amount to convert."
},
"currencyCode": {
"type": "string",
"enum": [
"EUR",
"USD",
"GBP",
"CAD",
"CNY",
"TRY",
"CHF",
"SAR",
"AED",
"TND",
"MAD"
],
"description": "Currency code to convert to or from DZD."
},
"direction": {
"type": "string",
"enum": [
"toDZD",
"fromDZD"
],
"description": "Conversion direction. Use \"toDZD\" to convert foreign currency into DZD, or \"fromDZD\" to convert DZD into foreign currency."
},
"rateType": {
"type": "string",
"enum": [
"buy",
"sell"
],
"default": "buy",
"description": "Whether to use the buy or sell rate for conversion."
}
},
"required": [
"amount",
"currencyCode",
"direction"
]
}
}Returns EUR parallel market and official historical rates for a given date.
{
"name": "get-euro-historical-rate",
"kind": "read",
"impl": "imperative",
"description": "Returns EUR parallel market and official historical rates for a given date.",
"inputSchema": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "Historical date in YYYY-MM-DD format."
}
},
"required": [
"date"
]
}
}