drupal_create_node
Create Drupal nodes via JSON:API by specifying content type and field attributes, with optional relationships.
Instructions
Create a new node. Pass attributes (and optional relationships) using JSON:API field names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | ||
| attributes | Yes | e.g. { "title": "...", "body": { "value": "...", "format": "basic_html" }, "status": true } | |
| relationships | No | JSON:API relationships object (optional) |