sync_mapping_preview
Preview a sync mapping's SOQL query and merge fields for sample Salesforce records; reads data only and writes nothing.
Instructions
Return the SOQL a sync would run and the merge fields the first records would get. Reads Salesforce through the sf CLI and writes nothing.
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": {
"mapping": "<mapping>"
},
"name": "sync_mapping_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Only the Salesforce record with this email address. | ||
| limit | No | Number of Salesforce records to preview (1-50). | |
| mapping | Yes | Mapping name: a file in ./mappings/ without .toml, as sync_mappings lists. | |
| created_days | No | Only records created in the last N days. | |
| modified_days | No | Only records modified in the last N days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||