Set your contact
set_contactSet or clear your account's own email and phone number, which the site may use to reach you about your entries and prizes. Only your account and the site's admins see them (never on a public page, a leaderboard, the archive, an export or another tool); they are not your sign-in. Give email, phone or both; an absent one is kept, null or "" clears it. A phone number starts with + and the country code (or give phone_country, e.g. US, for a national number) and is stored in E.164. A changed value is unverified until a code sent to it is confirmed. Answers your contact as get_contact does; a bad value is the route's problem (reason invalid_value, error[].path naming the field), refused before any confirmation is asked. On an account with a linked wallet the change is confirmed in that wallet first: the first call answers the route's StepUpProblem (reason step_up_required, its step_up offer and the fix). Then call step_up_challenge with {"ticket": step_up.ticket, "wallet": one of step_up.wallets} (it asks POST /api/me/step-up with this connection's own credential, your x-api-key), sign the message it answers with that wallet's keypair (base58 Ed25519 over its UTF-8 bytes), and call set_contact again with the same arguments and step_up: "." (good once, within five minutes). Signed in only: send your account's API key (an af_ key) as the x-api-key header of the MCP connection; without one it answers 401. Verify one over HTTP: POST /api/me/contact/<email|phone>/send sends a 6-digit code to it, POST /api/me/contact/<email|phone>/confirm with {"code"} confirms it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Your email address; null or "" clears it | ||
| phone | No | Your phone number, e.g. +1 415 555 0123; null or "" clears it | |
| step_up | No | The confirmation of this very change by a wallet on your account, when the first call answered reason step_up_required: "<challenge id>.<signature>", the id the step_up_challenge tool answered for that refusal's step_up.ticket (or POST /api/me/step-up, over HTTP with the same credential) and that wallet's signature of its message. Leave it out otherwise. | |
| phone_country | No | The country a phone number without + is read in (ISO 3166-1 alpha-2, e.g. US) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| phone | Yes | ||
| verify_channels | Yes | ||
| email_verified_at | Yes | ||
| phone_verified_at | Yes | ||
| email_code_expires_at | Yes | ||
| phone_code_expires_at | Yes |