get_current_sub_account
Retrieves a sub-account key's own profile or the account's primary sub-account, returning theme, custom links, and public proof settings; creates the primary on first use if none exists.
Instructions
Get the current sub-account record: with a sub-account key, that key's own sub-account; otherwise the account's primary sub-account. The first call creates a primary sub-account if the account has none (never for a sub-account key, which gets profile_not_found). Returns profile details, theme, custom links, and public proof display settings. Its write twin is update_public_page (the same record). In the dashboard, the Profile page (https://proof.holdings/profile) edits whichever sub-account is selected there.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.
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": "get_current_sub_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | MongoDB ObjectId | |
| bio | No | ||
| theme | Yes | Profile theme customization | |
| username | No | Absent until a username is claimed | |
| is_public | Yes | ||
| avatar_url | No | A URL or a data URI; null once cleared | |
| created_at | Yes | ||
| is_primary | Yes | ||
| profile_id | Yes | The public id used in profile URLs | |
| updated_at | Yes | ||
| view_count | Yes | ||
| email_theme | Yes | Theme of this sub-account's emails; null when unset (read as `dark`). | |
| is_business | Yes | ||
| name_review | Yes | Why a typed name is left out of the public reads: it reads as a protected brand's own, until a domain of that brand is checked. Null when nothing is held. | |
| proof_order | Yes | Who decided the order of a profile's proofs. `default`: domain, social account, Telegram bot, email, phone, wallet, then each proof's `display_order`. `owner`: the owner's `display_order` alone — send it when the owner reorders. The first shown proof that is not hidden leads the profile's preview card, share tags and badge. Omitted on an update, the profile keeps its current setting. | |
| custom_links | Yes | ||
| display_name | No | ||
| business_name | No | ||
| name_headline | Yes | Why a published name may not lead the page (it carries a protected brand word); it leads only when an OV/EV certificate names it. Null when not demoted. | |
| public_proofs | Yes | The shown proofs, in the order the public profile shows them | |
| support_email | Yes | Support address shown in this sub-account's messages; null when unset. | |
| show_delegations | Yes | ||
| channels_complete | Yes | The owner's statement that the channels listed are all of theirs. | |
| verification_level | Yes | Always 'basic'; no levels are computed; removed in the next major. | |
| show_proof_channels | Yes | ||
| username_is_default | No | The username was given automatically (from the domain the profile shows, else its short id); the owner may replace it once with a name of their choice. | |
| show_verification_dates | Yes |