local.creative.layout.prepare
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.
Prepare bounded joint layouts of literal native text and a complete original PNG on the existing Creative grid, with exact-target source and letter-edge constraints and inline source previews.
- CLI command:
prepare-creative-layout - MCP tool:
local.creative.layout.prepare - Operation version: 1
- Effect:
read - 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
input(string, required): Versioned joint text/whole-image layout request JSON file, at most2MiB. Read requestSchema; no project, encoding or visual acceptance.
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
Read requestSchema and LOCAL-CREATIVE-JOINT-LAYOUT.md. Specify allowed sizes, ordered fonts and left/right image directions; no crop, case change, redraw or fallback font. Source proposals are not finished QR options. Inspect sampled content, apply returned operations with current revision and explicit palette-light appearance, then render and check every actual option. Necessary constraints leave encoding and rendered clearance unresolved; preserve refusals. Search exhaustion is not impossibility. At most4096 search nodes and16 native source captures per direction; zero encodes, project writes, accounts, SQL, provider requests or spend.