Skip to content

TilingResponseSchema

const TilingResponseSchema: ZodObject<{ executionPlan: ZodArray<ZodObject<{ action: ZodPipe<ZodString, ZodTransform<ActionName, string>>; instanceId: ZodPipe<ZodString, ZodTransform<InstanceId, string>>; paramsJson: ZodOptional<ZodString>; }, $strip>>; layout: ZodObject<{ instances: ZodArray<ZodObject<{ instanceId: ZodPipe<ZodString, ZodTransform<InstanceId, string>>; variant: ZodPipe<ZodString, ZodTransform<VariantName, string>>; vesselId: ZodPipe<ZodString, ZodTransform<VesselId, string>>; }, $strip>>; tree: ZodArray<ZodPipe<ZodNullable<ZodString>, ZodTransform<"H" | "V" | `H:${string}` | `V:${string}` | `ID:${string}` | null, string | null>>>; }, $strip>; rationale: ZodString; userMessage: ZodString; }, $strip>

Defined in: packages/protocol/src/lib/request.ts:186

Structured-output schema for a tiling-mode LLM response.

Limits the execution plan but leaves tree and Instance coherence checks to the Engine’s heal layer.