{"openapi":"3.1.0","info":{"title":"Vastra (Garment) API","version":"0.1.0","description":"A fully local Indian traditional-clothing reference: garment profiles, saree draping styles, fabric guides, occasion conventions, regional style traditions, colour symbolism and a glossary.\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://vastra.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"hr@unifydynamics.com","url":"https://connectorbay.com/vastra/docs"},"termsOfService":"https://connectorbay.com/vastra/terms"},"servers":[{"url":"https://vastra.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/vastra/docs"},"security":[{},{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/garment_info":{"post":{"operationId":"garment_info","summary":"One traditional Indian garment's description, typical regional association, common occasions and typical","description":"One traditional Indian garment's description, typical regional association, common occasions and typical\n    fabrics. Use for \"what is a lehenga choli\", \"tell me about the sherwani\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"description":"A garment's name.","examples":["saree","sherwani","dhoti","anarkali"],"title":"Name","type":"string"}},"required":["name"],"title":"garment_infoArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/garment_search":{"post":{"operationId":"garment_search","summary":"Search traditional Indian garments by keyword, matched against name, description, region, occasion and","description":"Search traditional Indian garments by keyword, matched against name, description, region, occasion and\n    fabric. Use for \"which garments are worn in Kerala\", \"what's worn for weddings\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Keyword to search across garment name, description, region, occasion or fabric.","minLength":1,"title":"Query","type":"string"}},"required":["query"],"title":"garment_searchArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/saree_draping_styles":{"post":{"operationId":"saree_draping_styles","summary":"Documented saree draping styles (Nivi/standard, Bengali, Gujarati/Seedha Pallu, Maharashtrian/Nauvari,","description":"Documented saree draping styles (Nivi/standard, Bengali, Gujarati/Seedha Pallu, Maharashtrian/Nauvari,\n    Madisar, Coorgi, Assamese, and more) with a brief how-it's-worn description and region. Use for \"how is a\n    saree draped in Maharashtra\", \"what's the Nivi drape\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A region to filter by, e.g. Bengal, Tamil Nadu, Maharashtra; omit for all styles.","title":"Region"}},"title":"saree_draping_stylesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/fabric_guide":{"post":{"operationId":"fabric_guide","summary":"A traditional fabric's origin, characteristics and basic care — silk types (Banarasi, Kanjeevaram,","description":"A traditional fabric's origin, characteristics and basic care — silk types (Banarasi, Kanjeevaram,\n    Chanderi, Tussar, Mysore silk), cotton weaves (Khadi, Chikankari) and others. Use for \"what is Banarasi\n    silk\", \"how do I care for a Kanjeevaram saree\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"description":"A fabric or weave name.","examples":["Banarasi silk","Kanjeevaram","Chanderi","Khadi","Chikankari"],"title":"Name","type":"string"}},"required":["name"],"title":"fabric_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/occasion_guide":{"post":{"operationId":"occasion_guide","summary":"General dress conventions by gender for a type of occasion — weddings, festivals, office/daily wear, or","description":"General dress conventions by gender for a type of occasion — weddings, festivals, office/daily wear, or\n    religious ceremonies — described as widely-observed convention, not a rule. Use for \"what should I wear to\n    an Indian wedding\", \"what's typical office wear\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"occasion":{"description":"An occasion.","examples":["wedding","festival","office","religious ceremony"],"title":"Occasion","type":"string"}},"required":["occasion"],"title":"occasion_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/regional_style_guide":{"post":{"operationId":"regional_style_guide","summary":"Clothing traditions associated with a major Indian region or state — characteristic garments, fabrics and","description":"Clothing traditions associated with a major Indian region or state — characteristic garments, fabrics and\n    a short note. Use for \"what's traditional dress in Punjab\", \"clothing traditions of Kashmir\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"A major Indian region/state.","examples":["Punjab","Gujarat","Bengal","Tamil Nadu","Kerala","Rajasthan","Maharashtra","Kashmir"],"title":"Region","type":"string"}},"required":["region"],"title":"regional_style_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/color_symbolism":{"post":{"operationId":"color_symbolism","summary":"Traditionally associated meanings of colours in Indian clothing contexts (e.g. red commonly for","description":"Traditionally associated meanings of colours in Indian clothing contexts (e.g. red commonly for\n    weddings, white commonly for mourning in many communities), each noted as general cultural convention that\n    varies by region, community and religion — not an absolute rule. Use for \"what does red mean in Indian\n    weddings\", \"why do some people wear white for mourning\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"color_symbolismArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/garment_care_tips":{"post":{"operationId":"garment_care_tips","summary":"Washing, storage and ironing tips for a fabric — checks specific named fabrics (Banarasi, Kanjeevaram,","description":"Washing, storage and ironing tips for a fabric — checks specific named fabrics (Banarasi, Kanjeevaram,\n    Chanderi, ...) first, then falls back to general categories (silk, cotton, chiffon, velvet, wool, ...). Use\n    for \"how do I wash a silk saree\", \"how should I store a velvet lehenga\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"fabric":{"description":"A fabric or garment's fabric type.","examples":["silk","Banarasi silk","cotton","chiffon","velvet"],"title":"Fabric","type":"string"}},"required":["fabric"],"title":"garment_care_tipsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/garment_glossary":{"post":{"operationId":"garment_glossary","summary":"Definitions of common Indian clothing terms (pallu, zari, booti, aanchal, bandhani, ikat, choli, kasavu,","description":"Definitions of common Indian clothing terms (pallu, zari, booti, aanchal, bandhani, ikat, choli, kasavu,\n    gota patti, odhni, jamawar, mukaish, kalamkari). Use for \"what does zari mean\", \"what's a booti\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"term":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A specific term to look up; omit to list all.","title":"Term"}},"title":"garment_glossaryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}