NEAR MCP

by nearai
Verified

account_export_account

Export a NEAR account from the local keystore to a file by specifying the account ID and optional file path. Supports mainnet and testnet networks for secure account management.

Instructions

Export an account from the local keystore to a file.

Input Schema

NameRequiredDescriptionDefault
accountIdYes
filePathNoThe path to the file to write the account to. If not provided, the account will be written to the current working directory.
networkIdNomainnet

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accountId": { "type": "string" }, "filePath": { "description": "The path to the file to write the account to. If not provided, the account will be written to the current working directory.", "type": "string" }, "networkId": { "default": "mainnet", "enum": [ "testnet", "mainnet" ], "type": "string" } }, "required": [ "accountId" ], "type": "object" }
ID: ibzhoz5k4z