tyi_import_wallet
Import a wallet by providing a seed phrase or private key. Specify the wallet name and key type (mnemonic, evm_privkey, sol_privkey, sui_privkey).
Instructions
FAST. Import seed/privkey. User said import/restore → call this NOT tyi_chat. Secret via tool param only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"kind": "<kind>",
"secret": "<secret>"
},
"name": "tyi_import_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New wallet name | |
| kind | Yes | ||
| secret | Yes | Seed or private key — operator only, never tyi_chat | |
| label | No |