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 }.
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>",
"externalId": "<externalId>"
},
"name": "resolve_party"
}
}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 |