list_database_mapping_targets Database

List available target platforms for database mapping

Overview

Returns the set of supported target platforms that the database mapping tools can map source data into. Each target includes its ID, name, description, and version. Currently supports Medusa v2 (products, variants, options, categories, collections, tags, customers, pricing, CMS pages, and product reviews with images, votes, and merchant responses), with more platforms planned.

How It Works

  1. Queries the database_mapping_target_platform registry table.
  2. Returns only active target platforms.
  3. Each target contains a schema definition, LLM hint examples, and transformation rules used by the mapping engine.

Input Parameters

ParameterTypeRequiredDescription
No input parameters — just call it.

What You Get Back

Example Use Case

Before running a database mapping, call this tool to see which target platforms are available. Currently returns Medusa v2 as the only target, with its schema covering products, variants, options, categories, collections, tags, pricing, customers, CMS pages, and product reviews (including review images, helpful/unhelpful votes, and merchant responses).

Tips

Call this first to get the target ID needed for map_source_database_to_target.
New target platforms can be added without changing the tool interface.

Related Tools