flexsim_table_read
Read a FlexSim GlobalTable as JSON by table name, with row and column limits, returning cells, dimensions, and truncation status for model data access.
Instructions
Read a GlobalTable as JSON {table, rows, cols, total_rows, total_cols, truncated, data}.
Reads Table("<table>")[r][c] in row batches (braces work inside executestring,
AGENTE_FLEXSIM.md sec 3c) and joins cells with "|" and rows with ";" (the same join
style flexsim_inspect_model already relies on). Numeric cells come back as numbers,
the rest as strings.
Limits (documented, no silent magic): string cells containing "|" or ";" split
ambiguously (a "warning" field is added when the split does not match the table
dims); bundle/object cells read as their text form. Tables larger than max_rows x
max_cols return the top-left window with truncated=True.
Args:
table: GlobalTable name (Tools/GlobalTables/<table>).
max_rows: cap 1-100 (default 100).
max_cols: cap 1-20 (default 20).
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": {
"params": "<params>"
},
"name": "flexsim_table_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |