Get precious metal prices
get_metal_pricesFetches live spot prices for gold, silver, platinum, and palladium per troy ounce, gram, or kilogram in any major currency, reporting individual feed errors without failing the whole call.
Instructions
Live spot prices of gold (XAU), silver (XAG), platinum (XPT) and palladium (XPD) per troy ounce, per gram and per kilogram, in any major currency. A metal whose feed is down is reported with its error instead of failing the whole call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_metal_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ISO 4217 currency code, for example USD, EUR, GBP, INR, AED, SAR, PKR, CAD, AUD. Default USD. | USD |