From 72599ad0be496fddb350df2dbeaceea37aa7091a Mon Sep 17 00:00:00 2001 From: Minko Gechev Date: Thu, 2 Oct 2025 16:44:36 -0700 Subject: [PATCH] Improve formatting of the README.md file - Close a comment in the README.md file before the getDresses function - Move from JavaScript object literal to JSON to match formatting --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d2202d6..b40af8b 100644 --- a/README.md +++ b/README.md @@ -271,6 +271,7 @@ _The agent notices the dresses page registers several tools:_ * * size - optional - a number between 2 and 14 to filter the results by EU dress size * size - optional - a color from [Red, Blue, Green, Yellow, Black, White] to filter dresses by + */ getDresses(size, color) /* @@ -285,18 +286,18 @@ _The agent calls `getDresses(6)` and receives a JSON object:_ ```json { - products: [ + "products": [ { - id: 1021, - description: "A short sleeve long dress with full length button placket...", - price: "€180", - image: "img_1024.png", + "id": 1021, + "description": "A short sleeve long dress with full length button placket...", + "price": "€180", + "image": "img_1024.png", }, { - id: 4320, - description: "A straight midi dress in organic cotton...", - price: "€140", - image: "img_4320.png", + "id": 4320, + "description": "A straight midi dress in organic cotton...", + "price": "€140", + "image": "img_4320.png", }, ... ]