Review Directory Batch
review_directory_batchCheck a directory batch of people, external handles, teams and team memberships without applying it; build it on organization_directory. Returns what it would change, for your user to approve, and a short-lived confirmation_token for apply_directory_batch. Owners and 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": {
"batch": "<batch>"
},
"name": "review_directory_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch | Yes | People, teams and memberships linked by ref; reference existing people and teams by user_id or team_id. The owner role can't be assigned here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_at | Yes | When the token expires, as an ISO 8601 UTC timestamp. | |
| teams_count | Yes | Teams the batch creates or updates. | |
| people_count | Yes | People the batch adds or updates. | |
| request_hash | Yes | The hash of the exact batch that was checked. | |
| confirmation_token | Yes | Pass to apply_directory_batch, with the same batch, once the user approves. | |
| team_memberships_count | Yes | Team memberships the batch adds or updates. |