Bulk upsert identities
bulk_upsert_identitiesCreates or updates up to 500 learners in one call. Upsert by externalId, so re-sending a list that is mostly already here adds only what is new. Returns how many were created versus updated.
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": {
"identities": "<identities>"
},
"name": "bulk_upsert_identities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identities | Yes | 1 to 500 learners, each { externalId, name?, email? }, with no externalId repeated. Unlike upsert_identity, name and email are written as sent, so leaving one out clears it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | How many identities were new. | |
| updated | Yes | How many identities already existed and were updated. | |
| identities | Yes | Every identity written: the created ones first, then the updated. |