export_quotes_xlsx
Builds an .xlsx workbook from Huawei Cloud quote lists, with one row per environment plus sheets for decisions, priced resources, and totals; aborts without writing if any list cannot be read.
Instructions
Write a workbook of price lists, one row per environment, on four sheets: Quotes (environment, list name, total USD, link), Decisions (what was chosen and why), Resources (every priced resource) and Totals (instances, vCPUs, RAM, storage).
rows: [{"env": "prod", "list": share url or id, "draft_id"?: id}], kept in this order. A list saved by
publish_quote finds its decisions by itself; "draft_id" is for any other. Reads the lists anonymously.
path must end in .xlsx and is overwritten. Nothing is written if any list cannot be read.
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": {
"rows": "<rows>"
},
"name": "export_quotes_xlsx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | quotes.xlsx | |
| rows | Yes |