Check a lead import
get_lead_importSee where a lead import stands. Before it runs: whether the user has uploaded the file, and what it would bring in (new leads and people, open leads that go to their salesperson or to nobody, opted-out numbers). Show the user that summary. After run_lead_import, pass run_id to see whether it finished and what it created. Admins only.
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>"
},
"name": "get_lead_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | run_id from run_lead_import, to follow that import | |
| 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. |