suggest_list_column_mapping_tool
Suggests, with an AI model, how the columns of sample rows you hold (a file, CSV or scraped table) map to the row fields import_people_to_list and import_companies_to_list take (apiType upload-to-list with listType), and for each column with no field, whether to fill one of existingListId's own columns, add a new column, or ignore it. With apiType bulk-enrichment it instead maps the columns to the person fields enrich_contact and single_enrichment_tool take inside input other than domain (name, firstName, lastName, url, company, location, contactId, customContactId), so a company-domain column is never mapped to input.domain, and it makes no column decisions. Returns mapping, customColumnDecisions and requiredNameMappings. It reads only the rows passed and existingListId's columns, and the AI model only works out the mapping from them: it searches no web source or data provider, looks no one up, contacts no one and calls no connected app. It saves nothing and costs no credits; use it before those imports when the source columns do not match their fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": "<inputs>",
"apiType": "<apiType>"
},
"name": "suggest_list_column_mapping_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | Sample rows (records of input column name -> value) to analyse for the mapping | |
| apiType | Yes | Which API the mapping is for | |
| listType | No | Type of the destination list — required when apiType is upload-to-list | |
| existingListId | No | Optional existing list id whose columns should be considered |