vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Read
  • Packages
  • Versions & Dist-tags
  • Staging
  • Trusted Publishers
  • Projects
  • GitHub
  • Members & Invitations
  • Account & User
  • Connected Apps
  • account.update
  • Parameters
  • accountSettings.update
  • Parameters
  • accountSettings.setTwoFaRequirement
  • Parameters
  • user.update
  • Parameters
  1. Registry
  2. /
  3. Agent Resources
  4. /
  5. MCP
  6. /
  7. Tools
  8. /
  9. Account & User

Account & User

Change an account's profile and settings, and your own name.

An account's $id is /account/<account>, its settings are at /account/<account>/settings, and a user is at /user/<id>. The home document's account link leads to the account you signed in to, and current-principal to you.

Example call
{
  "name": "account.update",
  "arguments": {
    "target": "/account/acme",
    "input": { "supportEmail": "support@acme.dev" }
  }
}

account.update

Change the name, the description, the support email or the profile links.

  • Target: an Account
  • Privilege: account:write
  • Hints: none

Parameters

At least one input field is required.

ParameterTypeRequiredDescription
targetstringYesThe $id of the account.
input.namestringNoThe display name of the account. 1–255 characters.
input.supportEmailstring | nullNoPublic contact address for the account. An email address, up to 255 characters. null clears it.
input.descriptionstring | nullNoShort plain-text bio for the account page. 1–500 characters. null clears it.
input.mearrayNoThe account's profile links, replaced as a whole set. Array order is the display order; an empty array clears them. Up to 25 items. They come back as links.me on the account.
input.me[].$refstringYesThe link target. Must start with http:// or https://. Up to 2048 characters.
input.me[].titlestringYesThe label shown for the link. 1–128 characters.

accountSettings.update

Make the account private or public, or require staging for new versions.

  • Target: an AccountSettings
  • Privilege: security:write
  • Hints: Step-up when the call changes requiresStaging

Changing requiresStaging asks for a second factor from the last 10 minutes. See Step-up verification.

Parameters

At least one input field is required.

ParameterTypeRequiredDescription
targetstringYesThe $id of the account's settings.
input.isPrivatebooleanNoWhen true, the account is hidden from public listings and has no anonymous surface at all.
input.requiresStagingbooleanNoWhen true, new versions must be staged with npm stage publish and approved before they publish.

accountSettings.setTwoFaRequirement

Turn the browser approval of package writes on or off, on behalf of a member.

  • Target: an AccountSettings
  • Privilege: security:write, checked on the member the request names
  • Hints: none
note

This tool appears in tools/list, but account settings never offer it to MCP clients, so calls report that the action isn't offered.

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the account's settings.
input.clerkUserIdstringYesThe id of the member who completed reverification.
input.requiresTwoFaForPackageWritesbooleanYesThe new value for the account-wide requirement.

user.update

Change the first and last name.

  • Target: a User. Offered only on yourself.
  • Privilege: none
  • Hints: none

Parameters

ParameterTypeRequiredDescription
targetstringYesThe $id of the user.
input.firstNamestringYesThe user's given name. 1–50 characters.
input.lastNamestringYesThe user's family name. 1–50 characters.

Previous: Members & InvitationsInvite people to an account, change their roles, transfer ownership and remove members.Next: Connected AppsRevoke an app's access to your vlt.io account.

On this page

  • account.update
  • Parameters
  • accountSettings.update
  • Parameters
  • accountSettings.setTwoFaRequirement
  • Parameters
  • user.update
  • Parameters
Edit this page

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now