create_field_plugin
Add custom field types to Storyblok by creating field plugins with JavaScript code for space, organization, or partner contexts.
Instructions
Creates a new field plugin (field type) in the specified context.
Args: name (str): Unique name for your plugin (e.g., 'my-geo-selector'). body (str): The uncompiled JavaScript source for the plugin. compiled_body (str): Required; empty string if developing locally. context (str): 'space', 'org', or 'partner'.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique name for your plugin (e.g., 'my-geo-selector') | |
| body | Yes | The uncompiled JavaScript source for the plugin | |
| compiled_body | No | Required; empty string if developing locally | |
| context | No | Context: 'space', 'org', or 'partner' | space |