local.creative.text.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.
Inspect exact shipped glyphs or prepare complete native text, explicit word positions and per-word structural-clearance warnings, with literal-white version 1 or declared palette-light version 2 fields. Does not encode or change a project.
- CLI command:
prepare-creative-text - MCP tool:
local.creative.text.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): Native text inspection/preparation request JSON file, at most 32768 UTF-8 bytes. Read requestSchema and LOCAL-CREATIVE-TEXT.md. No project or account 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
Read LOCAL-CREATIVE-TEXT.md or pixie-local://docs/creative-text and requestSchema. Inspect with version 1. Prepare version 1 retains literal white; prepare version 2 requires field {mode:"palette-light",reference:"light"}, returns append version 2 and declares source.textField version 1 for scene version 2. Retain exact ink, original white field cells and the whole operation. White requiredCells constrain source light polarity; resolvedFieldColor is null until edit/render admission. Check complete source cells against the exact target and current overlap. Explicit appearance version 2 fieldTheme:"palette-light" separately enables display version 3 for generated space with a valid native basis, complete ownership and contextual mode. Actual glyph/space misses refuse. No preparation or necessary check establishes QR fit, legibility or acceptance; unsupported requests refuse without substitution.