resolve_party
Resolve an external identity (provider + externalId) to a friend record. Creates a new friend on first contact, returning the friend, channel, and creation flag.
Instructions
Resolve an external identity (provider + externalId on a channel) into a friend record, creating one on first contact. Returns { friend, channel, created }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | identity provider, e.g. aad, local, teams-conversation, imessage-handle, email-address, a2a-agent | |
| externalId | Yes | the external identity within the provider | |
| displayName | No | display name for the party (use 'Unknown' if not known) | |
| channel | No | the channel/sense the session belongs to, e.g. cli, teams, mcp | |
| tenantId | No | optional tenant id |