Add Field
add_fieldAdd a new field to a vector layer. Specify field type, name, and optional length and precision. Supports string, int, double, bool, date, and datetime types.
Instructions
Add a new field to a vector layer. field_type: 'string', 'int', 'double', 'bool', 'date', 'datetime'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| layer_id | Yes | ||
| precision | No | ||
| field_name | Yes | ||
| field_type | Yes |