get_gold_price
Fetch gold prices from SJC or BTMC sources. Specify a date for historical data or get today's price.
Instructions
Get gold price from stock market Args: date: str = None (if None, return today's price. Format: YYYY-MM-DD) source: Literal['SJC', 'BTMC'] = 'SJC' (source to get gold price) output_format: Literal['json', 'dataframe', 'toon'] = 'toon' (output format, 'toon' is optimized for AI) Returns: pd.DataFrame
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_gold_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| source | No | SJC | |
| output_format | No | toon |