Tool tree
Mexican online pharmacy selling certified medicines, supplements and health products, with price comparison and delivery throughout Mexico.
Implementation
gradeNot graded
gradeNot graded
search_productsAnswer
Free-text search over BuscaMed's catalogue of medicines and health products. Returns presentations with price, stock and canonical URL; a product not sold online is listed without a price and availableForOnlineSale=false. Optionally narrow to a category slug from list_categories (a parent category covers its children).
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Free-text search over BuscaMed's catalogue of medicines and health products. Returns presentations with price, stock and canonical URL; a product not sold online is listed without a price and availableForOnlineSale=false. Optionally narrow to a category slug from list_categories (a parent category covers its children).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"category": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"query"
]
}
}get_productAnswer
Full detail of one presentation by its altId (the 7-character public id every search result carries): price as the store shows it, stock, prescription requirement, category and canonical URL. Answers null for an unknown altId.
View tool JSON
{
"name": "get_product",
"kind": "answer",
"impl": "imperative",
"description": "Full detail of one presentation by its altId (the 7-character public id every search result carries): price as the store shows it, stock, prescription requirement, category and canonical URL. Answers null for an unknown altId.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"altId": {
"type": "string",
"minLength": 7,
"maxLength": 7
}
},
"required": [
"altId"
]
}
}list_categoriesAnswer
The catalogue tree as a flat list: title, slug, PLP URL and parentSlug. Slugs are valid `category` arguments for search_products.
View tool JSON
{
"name": "list_categories",
"kind": "answer",
"impl": "imperative",
"description": "The catalogue tree as a flat list: title, slug, PLP URL and parentSlug. Slugs are valid `category` arguments for search_products.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {}
}
}