Numbers: create
numbers_createCreate a new .numbers file from sheet and table data, keeping numbers and text exact (including Arabic). Refuses to overwrite existing files; no Numbers app required.
Instructions
Create a new .numbers file from data. sheets = [{"name": "Sales", "tables": [{"name": "Q1", "rows": [["Region", "Revenue"], ["Riyadh", 1200]], "header_rows": 1}]}]. Numbers stay numbers, text stays text exactly (Arabic included). Refuses to overwrite. No app needed. Use to make a new Numbers file when you have the rows. From a CSV file use numbers_import_csv; to add a table to an existing file use numbers_add_table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Where to create the new .numbers file; it must not exist yet. | |
| sheets | Yes | Sheets with their tables: [{"name": "Sales", "tables": [{"name": "Q1", "rows": [["Region", "Revenue"], ["Riyadh", 1200]], "header_rows": 1}]}]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||