Apply a scaffold tree to an existing workspace
rootr_scaffold_applyApply a scaffold tree to a Rootr workspace to create the planned document structure. Requires prior planning with rootr_scaffold_plan.
Instructions
Create the given document tree inside an existing Rootr (루터) workspace, optionally rooted under an existing path. Works with a workspace key (docs:write scope). PRECONDITION: call rootr_scaffold_plan first and ask the user its 3-10 clarifying questions; design the tree from their answers (same quality bar as rootr_create_workspace — real building blocks with icons/views/seed content, not thin markdown). AFTER creating: if your runtime can receive HTTP callbacks, offer a webhook on the new subtree (rootr_create_webhook with scopeNodeId) so changes flow back to you — skip your own actorId.
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": {
"tree": "<tree>"
},
"name": "rootr_scaffold_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | Scaffold tree — an ARRAY of node objects to create (see llms.txt tree schema) | |
| rootPath | No | Existing path to root the new tree under, e.g. "/projects" | |
| workspace | No | Workspace id; defaults to ROOTR_WORKSPACE/config if omitted |