rename_feed_column
Rename a custom column of a feed (a column with custom:true in get_feed). Use this to change a custom column's header. The code is derived from the new label the same way add_feed_column does it; the column keeps its source attribute, constant and fallbacks. Template columns cannot be renamed. A column with an attached rule must be detached first (map_feed_attribute rule_id:"") because the rule is bound to the column code. SAVE-ONLY: call export_feed afterwards. Returns {feedId, code, label, previousCode, previousLabel, status:'renamed'|'no_changes'|'rejected', reason, revisionBefore, revisionAfter}; rename back with new_label = previousLabel. reason: unknown_column | not_custom_column | detach_rule_first | invalid_label | duplicate_column. project_id OPTIONAL.
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": {
"feed_id": "<feed_id>",
"code": "<code>",
"new_label": "<new_label>"
},
"name": "rename_feed_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The column code (from get_feed). | |
| feed_id | Yes | ||
| new_label | Yes | The new column header. | |
| project_id | No |