Create new column via script/api

I found multiple posts stating we can’t create new columns/fields on a base but then I also see posts like the following two where the script looks like it’s calling a create() method. Are we able to create new columns/fields through a script?

Use case here is checking two view and automatically creating any fields that exist on table 1 that doesnt exist on table 2. Would also be nice if we could then adjust the automation actions to automatically grab any newly added column/field and it’s value.

The code in your links is for creating new records/rows, not creating new fields/columns.

Currently it is not possible to create new fields/columns using the REST API. It is possible to create some new fields using Scripting app (but not automation scripts). Custom apps can also create new fields with selected field types.