suggest_target_table
Queries live ServiceNow to find tables matching a source object name and returns ranked suggestions for data migration target selection.
Instructions
Call this BEFORE discover_schema when the user has not told you which ServiceNow table to migrate into. It queries the live SN instance for all tables and ranks them by similarity to the source object name. Returns a ranked list of suggestions + a custom-table fallback. Present the top suggestion(s) to the user and ask them to confirm or choose a different one. NEVER guess or hardcode a table name — always call this first if the target is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Source platform (e.g. salesforce, jira, hubspot, azure_devops — any string) | |
| object_name | Yes | Source object name (e.g. Case, Account, KAN project, Ticket) |