rename_column
Change a column header without touching row data. Requires the version hash to avoid overwriting concurrent edits.
Instructions
Rename a column header. Row data is unchanged. Requires version from read_table.
On success returns ONLY v:{new_hash}.
On error returns JSON with "error" and "message" fields.
Args: file_path: Absolute path to the Markdown file. table_index: 0-based table index from list_tables. version: 12-char hex hash from read_table (after "v:"). old_name: Current column identifier: letter ("A"), name, or composite ("B:Priority"). new_name: New header text for the column.
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": {
"file_path": "<file_path>",
"table_index": "<table_index>",
"version": "<version>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| new_name | Yes | ||
| old_name | Yes | ||
| file_path | Yes | ||
| table_index | Yes |