Altın/döviz tutarı hesapla
calculate_valueBir kalemin canlı fiyatıyla miktar × fiyat hesabı yapar. Ör. 15 gram 22 ayar, 3 çeyrek, 1000 USD kaç TL. side: satış (sell, müşterinin alırken ödediği) veya alış (buy). Computes quantity × live price in TRY.
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": {
"symbol": "<symbol>",
"quantity": "<quantity>"
},
"name": "calculate_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | sell = satış fiyatı, buy = alış fiyatı. | sell |
| source | No | Fiyat kaynağı kodu. | harem |
| symbol | Yes | Kalem, ör. "GRAM", "22 AYAR", "CEYREK", "USD". | |
| quantity | Yes | Miktar (gram, adet veya döviz birimi). |