From 425a34b6cd6509a16253dab0cb173bb32535e02c Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Thu, 23 Oct 2025 14:19:35 +0200 Subject: [PATCH] docs: add tip about array length in TOON format --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e9f28cb..dfb2cff 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,9 @@ user: ### Arrays +> [!TIP] +> TOON includes the array length in brackets (e.g., `items[3]` or `[2]`). This explicit count helps LLMs track the number of elements, reducing errors when generating or validating structured output. + #### Primitive Arrays (Inline) ```ts