Provision identity channels for an agent. Email, phone, and virtual card are all optional — omit any or all to create a shell identity.
Tool name: create_agent_identity
Parameters
A unique identifier for the agent. Must match the ID used in initialize_vault.
Describes why this tool is being called. Human-readable description of why the identity is being created.
Omit to provision the agent without an email address. The local part of the email address (before the @).
The domain for the inbox (e.g., agentmail.to).
Optional display name for the inbox.
Omit to provision the agent without a phone number.
Omit to provision the agent without a virtual card. Show virtualCard properties
Response
The provisioned email address, if requested.
The inbox ID at the email provider, if requested.
The provisioned phone number, if requested.
Virtual card details, if requested. The card number. Only returned once.
The CVV. Only returned once.
A permanent token reference to the card stored by Agentity.
Virtual card details (pan, cvv, exp_month, exp_year) are returned only once. Save them to the vault immediately using save_secret_to_vault.
Example
{
"agentId" : "agent-abc123" ,
"intent" : {
"message" : "Provisioning full identity for web automation agent" ,
"subject" : "IDENTITY" ,
"action" : "CREATE"
},
"email" : {
"issuer" : "agentmail" ,
"username" : "myagent" ,
"domain" : "agentmail.to" ,
"displayName" : "My Agent"
},
"phone" : {
"issuer" : "agentphone"
},
"virtualCard" : {
"issuer" : "privacy" ,
"type" : "SINGLE_USE"
}
}