Prepare Velox Item Install
prepare_item_installWith shell access in the customer's project, don't read this result: run npx velox-themes@1 add --from (install_with_cli); it needs no second sign-in, writes the files, applies page_rail edits and installs reviewed packages, so the source never enters your context. Call it in parallel for several items, then one add with a --from per result. Prepares one entitled section or component the customer has chosen (compare options with get_section or get_component first, which use no copy) for the customer's stack, with DESIGN.md reference and the website-building guide (omitted when guidance_version matches the copy you hold). react-nextjs: the verified React source inline as implementation_prompt, with checksum and character count; large text arrives unescaped in its own content block that the JSON names, and the copy counts when returned. astro and static-html: the exact HTML as a single-use download (a ZIP, or one .html file) with a SHA-256 and a ready shell command; it expires after 10 minutes and the copy counts only when downloaded. The download needs a client that can run shell commands; react-nextjs returns the source inline. Owned-template sections are exempt from the allowance. Missing, stale or unavailable formats fail before any copy is counted. When the item has Velox demo images or videos, media lists them with a command that downloads them into the customer's project. Never writes customer files itself.
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": {
"item_type": "<item_type>",
"identifier": "<identifier>",
"target": "<target>"
},
"name": "prepare_item_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editor | No | Only for a component configured in its editor on the Velox Themes website: the settings, schema_version and source_version from the editor's Copy prompt command. Installs that exact configuration (React only), with a configured entry file; counted like the website copy of the same configuration. | |
| target | Yes | ||
| item_type | Yes | ||
| identifier | Yes | Stable resource_key from search/list results. Legacy section UUIDs and component slugs also work. | |
| existing_project | No | True when adapting the item to a website that already has a design system. | |
| guidance_version | No | The guide version for this same target still in your working context: get_site_builder_instructions' version or an earlier required_guidance.version. Pass it on every call, including calls made in parallel, so the 60k-character guide and its requirements are not sent again. Omit it after context compaction, in a sub-agent or when the target changes. | |
| design_template_slug | No | Selected visual design family for a section or component, such as shinta or sanjaya. This overrides the source family's visual context without replacing the section's structure or intrinsic interactions. Omit for an existing project's own design system or the original resource look. |