element_create
Create a new element on a Voog page using a page ID and title. Optionally add a custom URL slug and property values matching the element definition.
Instructions
Create an element (POST /elements). Body is FLAT. Required: element_definition_id OR element_definition_title (id takes precedence per Voog docs); page_id; title. Optional: path (auto-generated from title if omitted), values (custom-properties hash matching the element_definition's schema).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"page_id": "<page_id>",
"title": "<title>"
},
"name": "element_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | URL slug (auto-generated from title if omitted) | |
| site | Yes | ||
| title | Yes | Element title | |
| values | No | Custom-properties hash matching the element_definition's schema | |
| page_id | Yes | Parent page id (from pages_list) | |
| element_definition_id | No | Definition id (from element_definitions_list) | |
| element_definition_title | No | Alternative to element_definition_id (id wins if both supplied) |