verifyAccount
verifyAccount: Verify a newly created OSIR account with the code from the verification email; step 2 of onboarding, no authentication required. The code is the same token as the email link, so the principal can relay it to their agent. On success the account becomes ACTIVE and billable actions are unlocked. If the code expired, call createAccount again with the same email to get a fresh one.
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": {
"accountId": "<accountId>",
"code": "<code>"
},
"name": "verifyAccount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Verification code from the email sent by createAccount. | |
| accountId | Yes | Account identifier returned by createAccount. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| nextSteps | No |