create_directory_collection
Create a new directory collection.
Args: project_id: The project ID. name: Collection display name. slug: URL-safe slug (lowercase, hyphens, underscores only). fields: JSON array of field objects. Each field needs: type (text|richtext|image|link|datetime|switch|option|reference|map|html|multiimage|video), label. Optional: id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | Yes | ||
| fields | No | [] | |
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |