Droost: Generate Test Data
droost_generate Write (gated)
Module: Droost DevelDevel-generate bridge: fake nodes, users, or terms for load-testing a composed display or view. Requires the devel module; kill=true clears previous fakes. Gated.
Example call
{
"tool": "droost_generate",
"arguments": {
"type": "content",
"num": 5,
"bundles": [
"tool"
]
}
}
Example response — captured live on this site
{
"success": false,
"message": "This tool is disabled. Enable it with: drush config:set droost.settings allow_destructive true (or via Admin → Configuration → Development → Droost), then reload the MCP server in your editor — the running server caches this flag at startup and will keep refusing until it is restarted. (To disable later, use --input-format=yaml false so the value is stored as a real boolean.)",
"data": null
}
Generates test data via Devel Generate. "type" is content, user, or term; "num" how many; "kill" deletes existing first; "bundles" sets node types (content) or the vocabulary (term, required). Disabled by default; requires droost.settings.allow_destructive.
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"content",
"user",
"term"
],
"description": "What to generate: content, user, or term."
},
"num": {
"type": "integer",
"description": "How many to create (default 10, max 5000)."
},
"kill": {
"type": "boolean",
"description": "Delete existing items first (default false)."
},
"bundles": {
"type": "array",
"items": {
"type": "string"
},
"description": "Content: node types (default page, article). Term: the vocabulary machine name (required)."
}
},
"required": [
"type"
]
}
Droost