Save Client Enrollment Batch
agency_enrollment_saveReplaces the client entries of an uncommitted enrollment session. Requires the session creator (or an agency owner/admin) and the current session revision. Saving revokes all outstanding owner approval links for the batch, so owners must be sent new links.
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": {
"partnerId": "<partnerId>",
"sessionId": "<sessionId>",
"expectedRevision": "<expectedRevision>",
"entries": "<entries>"
},
"name": "agency_enrollment_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | The full replacement list of client entries. | |
| partnerId | Yes | The agency (partner) workspace ID. | |
| sessionId | Yes | The enrollment session. | |
| idempotencyKey | No | Stable key for this request; reuse it when retrying the same request. | |
| expectedRevision | Yes | The session revision you last read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |