Connect the directory
directory_connectConnect the company's Microsoft Entra ID or Okta. Entra ID: tenant_id, client_id and the client secret of an app registration with User.ReadWrite.All and GroupMember.ReadWrite.All (and User.EnableDisableAccount.All), consented by the tenant's admin. Okta: org_url and an admin's API token. Called without secret, it answers with a link for the owner, who types it on a Conecto page, so it never passes through the chat (from_a_terminal does the same from a terminal); account.credential_added says when it is connected, and the link costs nothing. The connection is checked by reading one person. Suspensions then wait for the owner's approval by default. Costs $0.001 per call; nothing if it fails.
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": {
"provider": "<provider>"
},
"name": "directory_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | No | The Entra client secret or the Okta API token. Never shown again. Leave it out to get the link instead. | |
| org_url | No | ||
| provider | Yes | ||
| client_id | No | ||
| tenant_id | No |