export const RESELL_TOOLS = [
    {
        "name": "identify_item",
        "description": "Analyze a photo or screenshot of an item: identify brand, model, size, era, condition, authenticity red flags. Uses Eagle-Eye Vision.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "description": {
                    "type": "STRING",
                    "description": "Describe the item or paste any text from tags/labels if visible."
                },
                "image_context": {
                    "type": "STRING",
                    "description": "Any additional context: where it was found, what tags say, any markings."
                }
            },
            "required": []
        }
    },
    {
        "name": "research_sold_prices",
        "description": "Search recent SOLD listings across eBay, Poshmark, Mercari for an item. Returns price range, avg sale price, sell-through velocity.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "item": {
                    "type": "STRING",
                    "description": "Item to search (e.g. \"Vintage Nike Air Max 95 size 10\" or \"Coach leather hobo bag tan\")."
                },
                "condition": {
                    "type": "STRING",
                    "description": "Condition filter: new, like_new, good, fair."
                },
                "platform": {
                    "type": "STRING",
                    "description": "Platform: ebay, poshmark, mercari, all. Default all."
                }
            },
            "required": [
                "item"
            ]
        }
    },
    {
        "name": "generate_listings",
        "description": "Generate SEO-optimized listing titles and descriptions for multiple platforms at once: eBay, Poshmark, Mercari, Depop, Facebook Marketplace.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "item": {
                    "type": "STRING",
                    "description": "Full item identification (brand, model, size, color, condition)."
                },
                "key_features": {
                    "type": "STRING",
                    "description": "Standout features to highlight: rare colorway, vintage year, no flaws, original tags, etc."
                },
                "platforms": {
                    "type": "ARRAY",
                    "items": {
                        "type": "STRING"
                    },
                    "description": "Platforms to write for: ebay, poshmark, mercari, depop, facebook. Default all."
                }
            },
            "required": [
                "item"
            ]
        }
    },
    {
        "name": "calculate_profit",
        "description": "Calculate true profit after platform fees, payment processing, shipping, and cost of goods. Shows profit per platform.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "sale_price": {
                    "type": "NUMBER",
                    "description": "Planned sale price."
                },
                "cost_of_goods": {
                    "type": "NUMBER",
                    "description": "What you paid for the item."
                },
                "item_weight_oz": {
                    "type": "NUMBER",
                    "description": "Item weight in ounces (for shipping estimate)."
                },
                "platform": {
                    "type": "STRING",
                    "description": "Platform: ebay, poshmark, mercari, depop, facebook."
                },
                "shipping_type": {
                    "type": "STRING",
                    "description": "Who pays shipping: seller, buyer, free."
                }
            },
            "required": [
                "sale_price",
                "platform"
            ]
        }
    },
    {
        "name": "shipping_calculator",
        "description": "Calculate shipping costs and find the cheapest option for an item by weight and dimensions.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "weight_oz": {
                    "type": "NUMBER",
                    "description": "Package weight in ounces."
                },
                "dimensions": {
                    "type": "STRING",
                    "description": "Package dimensions LxWxH in inches (optional)."
                },
                "from_zip": {
                    "type": "STRING",
                    "description": "Your zip code (optional for estimate)."
                }
            },
            "required": [
                "weight_oz"
            ]
        }
    },
    {
        "name": "background_removal",
        "description": "Guide background removal for product photos: directs to remove.bg, describes the process, or gives tips for clean DIY backgrounds.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "method": {
                    "type": "STRING",
                    "description": "Method preferred: remove_bg_api, manual_tips, photoshop, canva. Default manual_tips."
                }
            },
            "required": []
        }
    },
    {
        "name": "trending_items",
        "description": "Get currently trending resell categories and specific items that are hot right now: which brands are moving, what buyers are searching for.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "category": {
                    "type": "STRING",
                    "description": "Category filter: clothing, electronics, collectibles, shoes, bags, home, all. Default all."
                },
                "platform": {
                    "type": "STRING",
                    "description": "Platform to check trends on: ebay, poshmark, mercari, all."
                }
            },
            "required": []
        }
    },
    {
        "name": "condition_guide",
        "description": "Get the official condition grading standards for an item on a specific platform. What counts as \"Like New\" vs \"Good\" vs \"Fair\".",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "platform": {
                    "type": "STRING",
                    "description": "Platform: ebay, poshmark, mercari, depop."
                },
                "category": {
                    "type": "STRING",
                    "description": "Item category: clothing, shoes, electronics, collectibles."
                }
            },
            "required": [
                "platform"
            ]
        }
    },
    {
        "name": "authenticity_check",
        "description": "Provide authenticity guidance for high-value items: what to look for on Nike, Coach, Louis Vuitton, Jordan, Supreme, etc. Red flags for fakes.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "brand": {
                    "type": "STRING",
                    "description": "Brand to check."
                },
                "item_type": {
                    "type": "STRING",
                    "description": "Item type: sneakers, bag, clothing."
                }
            },
            "required": [
                "brand"
            ]
        }
    },
    {
        "name": "bundle_strategy",
        "description": "Suggest bundle combinations to increase average order value and clear inventory faster.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "items": {
                    "type": "STRING",
                    "description": "List of items available to bundle."
                },
                "platform": {
                    "type": "STRING",
                    "description": "Platform: poshmark (best for bundles), ebay, mercari."
                }
            },
            "required": [
                "items"
            ]
        }
    },
    {
        "name": "ebay_price_sniper",
        "description": "Set up a monitor for a specific eBay item or search query. Pidgey will check periodically and alert you when the price drops below your target or a new matching listing appears.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "query": {
                    "type": "STRING",
                    "description": "The search query (e.g. 'iPhone 15 Pro') or a specific eBay URL."
                },
                "target_price": {
                    "type": "NUMBER",
                    "description": "The price point (USD) you want to be alerted at."
                },
                "check_interval": {
                    "type": "NUMBER",
                    "description": "How often to check in minutes (e.g. 30, 60, 1440)."
                }
            },
            "required": [
                "query",
                "target_price"
            ]
        }
    },
    {
        "name": "ebay_listing_analyzer",
        "description": "Analyze an active eBay listing for optimization. Checks SEO title, photo quality, description clarity, and pricing against current comps.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "url": {
                    "type": "STRING",
                    "description": "The eBay listing URL to analyze."
                }
            },
            "required": [
                "url"
            ]
        }
    },
    {
        "name": "ebay_bulk_lister",
        "description": "Prepare a bulk listing strategy for eBay. Generates titles, categories, and custom labels for a set of items to be uploaded via eBay File Exchange or manual bulk edit.",
        "parameters": {
            "type": "OBJECT",
            "properties": {
                "items": {
                    "type": "ARRAY",
                    "items": {
                        "type": "STRING"
                    },
                    "description": "List of items to be listed."
                }
            },
            "required": [
                "items"
            ]
        }
    }
];
