NEAR MCP

by nearai
Verified

account_create_account

Create a new NEAR account with a unique account ID, funded by the caller. Specify initial balance, or default to 0.1 NEAR. Supports mainnet and testnet environments.

Instructions

Create a new NEAR account with a new account ID. The initial balance of this account will be funded by the account that is calling this tool. This account will be created with a random public key. If no account ID is provided, a random one will be generated. Ensure that mainnet accounts are created with a .near suffix, and testnet accounts are created with a .testnet suffix.

Input Schema

NameRequiredDescriptionDefault
initialBalanceYesThe initial balance of the new account in NEAR. If not provided, the new account will be funded with 0.1 NEAR.
networkIdNomainnet
newAccountIdNoThe account id of the new account. If not provided, a random one will be generated.
signerAccountIdYesThe account that will fund the new account.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "initialBalance": { "description": "The initial balance of the new account in NEAR. If not provided, the new account will be funded with 0.1 NEAR.", "type": "number" }, "networkId": { "default": "mainnet", "enum": [ "testnet", "mainnet" ], "type": "string" }, "newAccountId": { "description": "The account id of the new account. If not provided, a random one will be generated.", "type": "string" }, "signerAccountId": { "description": "The account that will fund the new account.", "type": "string" } }, "required": [ "signerAccountId", "initialBalance" ], "type": "object" }
ID: ibzhoz5k4z