Add column
add_columnShow a new column on a sheet. Uses the first hidden data slot and sets its header. Concurrent calls on the same sheet each get their own column. If another column change is still being saved, the call fails and asks you to try again. On a catalog sheet, call enable_catalog_sheet or adopt_catalog_sheet first. Write the new column later by the exact header from get_sheet_settings. If the name is Photo, Image, or Bilde, that column becomes the image field. barcode_standard is optional. On an existing sheet the stored standard changes only when barcode_standard is sent. If it is omitted, the sheet standard is left unchanged. Does not delete item values. Existing barcodes are not rewritten unless a later call includes confirm_token after the first call returned confirmation_required.
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": {
"name": "<name>"
},
"name": "add_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| sheet_id | No | ||
| sheet_number | No | ||
| confirm_token | No | ||
| barcode_standard | No |