Skip to content

Commit 72599ad

Browse files
committed
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
1 parent 019c901 commit 72599ad

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ _The agent notices the dresses page registers several tools:_
271271
*
272272
* size - optional - a number between 2 and 14 to filter the results by EU dress size
273273
* size - optional - a color from [Red, Blue, Green, Yellow, Black, White] to filter dresses by
274+
*/
274275
getDresses(size, color)
275276

276277
/*
@@ -285,18 +286,18 @@ _The agent calls `getDresses(6)` and receives a JSON object:_
285286

286287
```json
287288
{
288-
products: [
289+
"products": [
289290
{
290-
id: 1021,
291-
description: "A short sleeve long dress with full length button placket...",
292-
price: "€180",
293-
image: "img_1024.png",
291+
"id": 1021,
292+
"description": "A short sleeve long dress with full length button placket...",
293+
"price": "€180",
294+
"image": "img_1024.png",
294295
},
295296
{
296-
id: 4320,
297-
description: "A straight midi dress in organic cotton...",
298-
price: "€140",
299-
image: "img_4320.png",
297+
"id": 4320,
298+
"description": "A straight midi dress in organic cotton...",
299+
"price": "€140",
300+
"image": "img_4320.png",
300301
},
301302
...
302303
]

0 commit comments

Comments
 (0)