riddleTemplate_use
Creates a new Riddle from a template, as an unchanged copy of it - content, settings and design preset - and records it as a copy of the template's Riddle (riddle_get reports that as context.duplicated). Use this whenever the template is what you want; to adapt it first, read it with riddleTemplate_get and build the edited configuration with a riddle_builder_ tool instead. The new Riddle is a draft: call riddle_publish to make it live. Returns the created Riddle in the standard build-configuration envelope - the same shape riddle_get returns, and it takes the same "omit" parameter to shrink it (omit: ["build.omittedDefaults"] alone cuts most of it). Requires the template-use permission, plus the Riddle-create permission in the target project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the template to create a Riddle from, as returned by riddleTemplate_list or riddleTemplate_publicList. | |
| omit | No | Same "omit" parameter as riddle_get's, applied to the returned envelope (see riddle_get for the full description). Reach for omit: ["build.omittedDefaults"] here as well - the created Riddle is a copy of the template, so its per-block default maps are the biggest part of this response and state nothing riddle://reference/block-defaults/<block type> does not. | |
| title | No | Title for the new Riddle. Omit to keep the template's own title. | |
| projectId | No | The project (team) ID to create the Riddle in, as returned by project_list. Omit to use the project the API key is scoped to (your personal project for a user API key). |