get_commodity_price
Fetch current commodity or futures prices, daily change, and key market data by name or ticker, such as gold, oil, GC=F, or CL=F.
Instructions
Get commodity/futures price data.
Args: commodity: Commodity name or ticker (e.g., 'gold', 'oil', 'crude oil', 'GC=F', 'CL=F')
Returns: Current price, day change, and key market data
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": {
"commodity": "<commodity>"
},
"name": "get_commodity_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commodity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |