Find or create a person or group
dm.ensure_identityIdempotently find or create one person or group and return its canonical id with created=true|false. A person is matched by normalized email first (admin humans only), otherwise by exact normalized name or alias; several matches return ambiguous_match with candidate ids instead of choosing one. Requires the delegated human's OAuth grant and a workspace role that permits the change. An identity never creates a workspace member, role, grant or invitation.
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": {
"display_name": "<display_name>"
},
"name": "dm.ensure_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Person only; needs a human who may manage workspace members. A person is matched by normalized email first. Without an email, by exact normalized name (or alias). | ||
| notes | No | ||
| aliases | No | ||
| display_name | Yes | ||
| identity_type | No | person |