local.gs1.artwork.generate
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.
Generate a new GS1 QR around editable artwork using the native encoder. Artwork drives module values; exact GS1 base and complete final new URI are retained.
- CLI command:
create-native-gs1-artwork - MCP tool:
local.gs1.artwork.generate - Operation version: 1
- Effect:
local_draft_compute - 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. Itsverificationfield gives only the contract version and policy; the full schema isdataContracts['design.verification']in the same catalog - Errors: each error carries
code,classandrecovery; classes are listed undererrorsin the catalog
Inputs
input(string, required): Native artwork-aware new GS1 draft request JSON file. Read requestSchema. One native encode; actual file checks and editable source retained.project(string, required): Explicit local project directory.
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. Explicit new-URI creation only, one native encode. Retain required cells, literal colours and layers. Explicit preferred cells may receive native contextual contrast; every miss is reported. No plain-code fallback or automatic ECC reduction. Inspect actual render, source and exact readers. A created draft or software read cannot establish visual intent or POS performance. Save/reopen uses the exact saved native binding, never a new art suffix. No hosted allocation, SQL, provider call, publication or spend.