Read an Excel table
am_tableReads Excel tables from statistical releases as compact rows, enabling sheet listing, row filtering, and offset paging for wide series.
Instructions
Read an Excel table of a statistical release as compact rows (works for any release with an xlsx/xls file).
Call with just the id for the sheet list, then sheet; rows are [excel_row_number, cell...]. find picks
rows, offset pages, col_offset shifts wide series (newest values are usually at the right end; see cols).
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": {
"id": "<id>"
},
"name": "am_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Release id from am_search | |
| file | No | Excel file number (1-based, see am_release) | |
| find | No | Only rows with this text in any cell | |
| sheet | No | Sheet name or 1-based number; omit to list sheets | |
| offset | No | Matching rows to skip (paging) | |
| max_cols | No | Columns | |
| max_rows | No | Rows | |
| col_offset | No | Columns to skip on the left (wide series) |