read_table
Read a full table from a Markdown file as a clean pipe format, preserving inline formatting and returning a version hash for safe edits.
Instructions
Read a full table as a clean pipe table with version hash.
Prefer this over reading files directly — handles HTML tables, preserves inline formatting, and returns the version hash needed for any edit.
First line of output is metadata: v:{hash} {format} {rows}r {cols}c [{section}] Extract the 12-char hex hash after "v:" (e.g. "a1b2c3d4e5f6") and pass it as the version argument to any write tool.
If a write returns STALE_READ, call read_table again for a fresh version.
Args: file_path: Absolute path to the Markdown file. table_index: 0-based table index from list_tables (the number after T).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| table_index | Yes |