Migrate Records
migrate_recordsTransfers batches of source records to a target Drupal site via JSON:API, supporting field mapping, dry runs, and idempotency to avoid duplicate imports.
Instructions
Copy a batch of source records into the target Drupal site through JSON:API.
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": {
"migration_id": "<migration_id>",
"entity_type": "<entity_type>",
"records": "<records>"
},
"name": "migrate_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| records | Yes | ||
| entity_type | Yes | ||
| migration_id | Yes | ||
| field_mapping | No | ||
| idempotency_key | No | id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||