Export result and model tables to Excel
export_result_tablesUse to export full result tables to Excel. To look at the first rows use preview_result_table. Exports one or more CIVIL NX tables (each like the preview_result_table arguments, full scope, no sampling) into one Excel workbook built by the exporter plugin: one sheet per table (and per sub-table; split above 1,048,575 rows), unit-labelled headers, numeric cells, and a 'Contents & Export Log' sheet listing each table's request, rows and any failure. format csv gives one CSV file per sheet instead. Returns download links (never the file inline) and a per-table summary; a table that fails is logged and the rest still export. Read-only. Can run long on big models, so it runs as a job on the website.
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": {
"tables": "<tables>"
},
"name": "export_result_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | xlsx | |
| tables | Yes | ||
| workbookName | No | File name without extension (default MIDAS_CIVIL_NX_Tables). | |
| includeContents | No | Add the 'Contents & Export Log' sheet first. |