Import the uploaded leads
run_lead_importImport the uploaded file after the user has seen the summary from get_lead_import. It runs in the background; follow it with get_lead_import and the returned run_id. Leads already imported from the same file are left alone, opted-out numbers stay opted out, and no messages are sent. Admins only. Ask the user to confirm before calling this tool.
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": {
"import_id": "<import_id>",
"sha256": "<sha256>"
},
"name": "run_lead_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | preview.sha256 from get_lead_import, so the file imported is the one the user reviewed | |
| import_id | Yes | Import id from start_lead_import | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. |