Search the rugs in stock
search_rugsSearch the hand-woven rugs in stock at Medallion Rug Gallery (Redwood City, California; a family rug business since 1907): Persian and Oriental, antique and palace-size, silk and modern. Every filter is optional and values are not case-sensitive; separate several values with commas. Gives each rug’s name, SKU, size, origin, pile, collection, colors and page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_rugs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1. | |
| pile | No | Wool, Silk, Silk & Wool, Flat Weave and others. | |
| size | No | XS, Small, Medium, Large, XL or Runner; or a size in feet such as "8x10", for rugs about that size either way round (within 9 inches on each side). | |
| sort | No | newest (the default), size_desc (largest first), size_asc or sku_asc. | |
| color | No | Colors: beige, brown, gray, black, red, pink, rust, gold, green, blue, purple, multicolor. | |
| query | No | Words to search: a design (Heriz, Tabriz, Kazak, Serapi), colors, a material, an origin (Persian, Turkish, Indian), a shape (round), "runner", or a size in feet ("9x12"). Example: "red persian 9x12". | |
| shape | No | round, square, oval or hexagon (most rugs are rectangles). | |
| design | No | Part of a design name. | |
| origin | No | Where the rug was woven: Persian, India, China, Pakistan, Turkey, Afghan, Nepal, Tibet and others (list_rug_options has them all). | |
| per_page | No | Rugs a page, up to 100 (default 24). | |
| collection | No | Traditional, Modern or Collectible. |