local.brand.use-candidate
Availability: Local CLI and local MCP (stdio), in the local toolkit. Customers can't use the hosted connection or the local toolkit yet: the hosted connection (OAuth sign-in, and the API and MCP at /api/agent/v1) isn't deployed, and the local toolkit isn't distributed. Don't try to connect or run these operations for a customer, and don't ask them to install anything. Read and explain these pages, and help the person use https://www.pixie.codes in their browser.
Copy the exact reviewed candidate and its retained images into a new or existing Creative project, without encoding it again.
- CLI command:
use-brand-candidate - MCP tool:
local.brand.use-candidate - Operation version: 1
- Effect:
local_draft - Permission: Explicit local filesystem access only; no publication, provider or spending authority.
- Contract: local contract 1, digest
3c0203c9a00b1c1935e94899236058298bf761f94021a47ad588bd9c3e5be9b8 - Output schema:
outputSchemain the catalog entry. It describes the JSON result the CLI prints. MCP returns the same result in its first text block, with two exceptions:local.artifact.readsends the file bytes as a separate image or resource block, andlocal.capabilitiesreturns the MCP form of the catalog - Errors: each error carries
code,classandrecovery; classes are listed undererrorsin the catalog
Inputs
candidate(string, required): Exact candidate ID from the retained exploration (control, faithful-1/2, balanced-1/2, expressive-1/2), or the new-item ID of a colour-contrast alternative proposed for one of its options whose own export passed both scan checks. The source-grid IDs faithful and finder-repair belong to use-source-grid-candidate and refuse here.expected-revision(integer)exploration(string, required): Existing local exploration project directory.item(string, required): Item ID returned in the project manifest.project(string, required): Explicit local project directory.proposal-hash(string): Exact source-bound proposal hash displayed for this candidate and render. Required for source-grid selection and imported-logo options. For original-file import it is the reviewed proposalHash, which identifies content and does not grant approval.reason(string): Short explanation retained with the revision.render(string, required): Exact retained render ID.revision(integer, required)
The complete request schema is this operation's entry in capabilities.json (CLI) or mcp-capabilities.json (MCP) in the current release; list it from local.capabilities before calling.
Recovery
Omit expected-revision only for a new destination project. For an existing project, supply its current revision. An option explored from an imported design (explore-source-brand or explore-source-content) is different: save it into its original source project, with that project’s current expected-revision, a new item ID and the candidate’s proposal-hash. A new destination refuses with SOURCE_BRAND_SOURCE_PROJECT_REQUIRED; a copy or a changed source refuses with SOURCE_LOGO_STALE; the plain control refuses with SOURCE_BRAND_CONTENT_REQUIRED. A colour-contrast alternative made with propose-creative-contrast in the exploration project is selectable by its new-item ID once its own export has passed both scan checks; for an imported design use the proposalHash that operation returned for it. The saved selection records the option it came from and the exact contrast setting. A failed alternative, or one whose content no longer matches an explored option, refuses. Unrelated items are preserved; render them if the response reports missing checks. Continue with local Studio, scene editing, review and export. The exploration project is retained.