Export to Excel
export_to_excelExport query results to a branded Shibui Finance Excel spreadsheet.
Runs the same SQL query as stock_data_query but returns a downloadable Excel file instead of raw data. The spreadsheet includes branded headers, smart number formatting, and auto-fitted columns.
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": {
"query": "<query>",
"title": "<title>"
},
"name": "export_to_excel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute and export. Same query used with stock_data_query. | |
| title | Yes | Title for the spreadsheet header (e.g. "Mega-Cap Stock Comparison"). |