[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Tiendanube store categories](https://spiral.ai/integrations/opencode/tiendanube-store-categories)

# How to Use Tiendanube store categories in opencode

Returns a Tiendanube or Nuvemshop store's category structure and paths. Use it to find the right department or subcategory before collecting products.

|  |  |
| --- | --- |
| Model | Tiendanube store categories |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Tiendanube store categories in opencode

- Use Tiendanube store categories for tienda.juguetesrasti.com.ar and add its returned category hierarchy to the project's catalog navigation fixture.
- Use Tiendanube store categories for tienda.juguetesrasti.com.ar, inspect the departments below MARCA, and save their returned names and paths as JSON in this repository.
- Use Tiendanube store categories to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Tiendanube store categories and tell me what changed since last week.
- Check Tiendanube store categories and summarize what you find in three bullet points.

## How to set up Tiendanube store categories in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Tiendanube store categories**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "tiendanube-com/products/list_categories",
    "input": {
      "store": "<store>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Tiendanube store categories on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Tiendanube store categories tools and prices

- [Tiendanube / Nuvemshop stores · List categories](https://spiral.ai/tools/alexandria/tiendanube-com/products/list_categories) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| parent |  | — | A category path or URL; return only its subcategories. |

## What can you do with Tiendanube store categories in opencode?

Build a catalog review in your project using Tiendanube categories, product listings, and individual item checks. Use the returned structure to organize departments and inspect the choices behind selected products.

### Review a retailer's assortment

Map departments with Tiendanube store categories, collect their items with Tiendanube product catalog, and inspect selected choices with Tiendanube product details. Produce a report of the product types and options actually found.

### Build a shopping shortlist

Find a relevant department with Tiendanube store categories, shortlist items with Tiendanube product catalog, and check each finalist with Tiendanube product details. Return product links and available choices for the shopper to review.

### Prepare a new arrival briefing

Choose departments with Tiendanube store categories, collect newly listed items with Tiendanube product catalog, and inspect selected additions with Tiendanube product details. Turn the results into a merchandising briefing with links to the items.

### Check products before a campaign

Use Tiendanube store categories to scope a campaign collection and Tiendanube product catalog to find its items. Check advertised choices with Tiendanube product details before including them in campaign copy.

### Review category navigation

Use Tiendanube store categories to map nested departments, then sample each department with Tiendanube product catalog. Flag category names whose returned products suggest confusing placement.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Tiendanube store categories in other agents

- [Amp](https://spiral.ai/integrations/amp/tiendanube-store-categories)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiendanube-store-categories)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiendanube-store-categories)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiendanube-store-categories)
- [Cline](https://spiral.ai/integrations/cline/tiendanube-store-categories)
- [Codex](https://spiral.ai/integrations/codex/tiendanube-store-categories)
- [Cursor](https://spiral.ai/integrations/cursor/tiendanube-store-categories)
- [Devin](https://spiral.ai/integrations/devin/tiendanube-store-categories)
- [dots](https://spiral.ai/integrations/dots/tiendanube-store-categories)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiendanube-store-categories)
- [Gemini](https://spiral.ai/integrations/gemini/tiendanube-store-categories)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiendanube-store-categories)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiendanube-store-categories)
- [goose](https://spiral.ai/integrations/goose/tiendanube-store-categories)
- [Grok](https://spiral.ai/integrations/grok/tiendanube-store-categories)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiendanube-store-categories)
- [Hermes](https://spiral.ai/integrations/hermes/tiendanube-store-categories)
- [Instinct](https://spiral.ai/integrations/instinct/tiendanube-store-categories)
- [Manus](https://spiral.ai/integrations/manus/tiendanube-store-categories)
- [Muse](https://spiral.ai/integrations/muse/tiendanube-store-categories)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiendanube-store-categories)
- [n8n](https://spiral.ai/integrations/n8n/tiendanube-store-categories)
- [Notion](https://spiral.ai/integrations/notion/tiendanube-store-categories)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiendanube-store-categories)
- [Perplexity](https://spiral.ai/integrations/perplexity/tiendanube-store-categories)
- [Raycast](https://spiral.ai/integrations/raycast/tiendanube-store-categories)
- [VS Code](https://spiral.ai/integrations/vscode/tiendanube-store-categories)
- [Windsurf](https://spiral.ai/integrations/windsurf/tiendanube-store-categories)
- [Zapier](https://spiral.ai/integrations/zapier/tiendanube-store-categories)

## More opencode guides

- [Tiendanube product details](https://spiral.ai/integrations/opencode/tiendanube-product-details)
- [TikTok Shop ID from share link](https://spiral.ai/integrations/opencode/tiktok-shop-id-from-share-link)
- [Tiendanube product catalog](https://spiral.ai/integrations/opencode/tiendanube-product-catalog)
- [TikTok Shop Product Details ScrapeCreators](https://spiral.ai/integrations/opencode/tiktok-shop-product-details-scrapecreators)
- [Target product reviews](https://spiral.ai/integrations/opencode/target-product-reviews)
- [TikTok Shop Product Reviews ScrapeCreators](https://spiral.ai/integrations/opencode/tiktok-shop-product-reviews-scrapecreators)

## Questions about Tiendanube store categories in opencode

**Can opencode use Tiendanube store categories?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Tiendanube store categories like any built-in tool.

**How much does Tiendanube store categories cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use Tiendanube store categories in opencode?**

No. Spiral runs Tiendanube store categories on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Tiendanube store categories in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Tiendanube store categories runs?**

Tiendanube store categories runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Where does the Tiendanube data come from?**

The provider reads public storefront pages and sitemaps from Tiendanube stores, including Nuvemshop stores in Brazil. It respects each store's robots.txt.

**Does the storefront show every product a merchant has?**

Tiendanube's unlisted products disappear from search and navigation while retaining working direct links. Hidden products cannot be opened by direct link, so public discovery cannot establish a merchant's full inventory.

**How many products appear on a catalog page?**

Tiendanube documents 12 products by default, with choices of 16 or 20 for selected store designs. Those counts describe storefront category pages, so they should not be treated as a universal endpoint limit.

**How quickly can availability change?**

Tiendanube stock can change with a sale or a cancellation that restores inventory. Availability can therefore change between a catalog check and a later product check.

**Does an available product always have a finite stock count?**

No. Tiendanube lets merchants select unlimited inventory, including for digital products, so availability does not always correspond to a finite number of units.

