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
- Queries the database_mapping_target_platform registry table.
- Returns only active target platforms.
- Each target contains a schema definition, LLM hint examples, and transformation rules used by the mapping engine.
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| No input parameters — just call it. | |||
What You Get Back
- Array of target platforms with id, name, description, version, and is_active status
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).
