Skip to content
HomePagesHomePages template kit

tourAssign

Fills a single `tour` slot by having the model choose one 3D tour from the property's tour pool.

Fills a single tour slot by having the model choose one 3D tour from the property’s tour pool. pick is the selection-brief prose. Like videoAssign there is no fact-seeded mode — a tour only ever reaches a slot by selection — and the candidates the model sees are the property’s tour links, never its videos: the pool is named by the decision type, not by a parameter.

Import from @homepages/template-kit.

function tourAssign(i: TourAssignInput): BuiltDecision<"tour-assign">
Name Type Required Description
i TourAssignInput required

BuiltDecision<"tour-assign">

import { tourAssign } from "@homepages/template-kit";
tourAssign({ pick: "The whole-home walkthrough, not a single-room scan." });