The Image Search Tool lets your AI agent look up products by image. When a customer sends a photo and asks "do you have this?" or "what is this?", the agent matches it against a catalog of product images you provide and responds with what it found.
In your TailorTalk dashboard, go to Agent Setup, click Add Tool, and select Image Search from the Select Tool modal.
Prepare a CSV with one row per product image:
| Column | Required | Description |
|---|---|---|
product_id | ✅ | Your own identifier for the product — use the same value on multiple rows to attach several images of the same product. If your CSV has no product_id column, a sku column is accepted in its place. |
image_url | ✅ | Publicly accessible URL of the product image |
| (others) | ❌ | Any additional columns — product name, color, etc. — are allowed and carried through as metadata |
* One of product_id or sku is required. Rows that share the same identifier are grouped into a single product with all of its image URLs — so a product with multiple images is several rows with the same product_id (or sku) and a different image_url each.
Upload the CSV in the tool's setup panel. Once it uploads successfully, you'll see the file listed as attached — you can replace it with a new CSV at any time from the same panel.

Once the tool is live, you don't need to re-upload the whole CSV to add a new product — add individual images to the index directly with the Add Image Search API. This only applies to CSV-based tools like this one — Shopify-backed tools sync automatically instead.
https://api.tailortalk.ai/api/v1/add_product
| Key | Value |
|---|---|
| Authorization | Agent <token> |
| Content-Type | application/json |
You can find agent_token on the Developer page, under the API Keys tab. Click the eye icon to reveal it, or the copy icon to copy it.

| Parameter | Required | Description |
|---|---|---|
| product_id | ✅ | Your own identifier for the product — call this endpoint again with the same productid and a different imageurl to add another image of the same product |
| image_url | ✅ | Publicly accessible product image URL |
| metadata | ❌ | Additional product information (e.g. name, color) stored alongside the image and returned when a match is found |
{
"product_id": "SKU123",
"image_url": "https://example.com/products/red-shirt.jpg",
"metadata": {
"product_name": "Red Shirt",
"color": "red"
}
}
The API returns a JSON object confirming the image was added. The response payload is wrapped automatically under a data field with success: true:
{
"data": {
"message": "Image added to the image-search index.",
"image_url": "https://example.com/products/red-shirt.jpg"
},
"success": true
}
agent_id is derived from the token and does not need to be included in the request body.image_url must be publicly accessible; TailorTalk fetches it directly to index the image.If this agent already has a Shopify tool connected, switch to the Shopify tab in the setup panel — no CSV needed, product images sync directly from your connected store.
If Shopify isn't connected yet, the panel shows a Set Up Shopify Tool button instead. Clicking it closes this dialog and opens the Shopify tool's setup so you can connect your store first; once that's done, add Image Search again and the Shopify tab will be ready to use.
