Empty and close the kit
close_kitSends remaining USDC, BSV, and ETH to user-confirmed Base and BSV addresses, then stops spending until the user manually resumes.
Instructions
Empty this kit into the user's own wallets, then stop it: it spends nothing more until the user runs npx petasats-mcp resume in a terminal. This moves funds and cannot be undone: base_address and bsv_address must be addresses the user gave you and confirmed, never this kit's own addresses. Each call takes at most one step and returns at once; call it again after call_again_after_seconds until state is 'closed'. It refuses while a swap is running, naming the swap, or while spending is already stopped for another reason. It sends USDC first, then BSV, then ETH. Only ETH dust that cannot pay its own gas (and, rarely, a BSV amount too small to send) is left behind. It never deletes, prints or sends the kit's keys file; keys_note explains that once closed. Returns state ('refused', 'in_progress' or 'closed'), sent (every send made in this close-down so far), and either reason with an optional retry_after_seconds, did and next with call_again_after_seconds, or closed_at, final and keys_note.
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": {
"base_address": "<base_address>",
"bsv_address": "<bsv_address>"
},
"name": "close_kit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bsv_address | Yes | Destination BSV mainnet address (P2PKH, starting with 1), supplied and confirmed by the user. Not this kit's own address. | |
| base_address | Yes | Destination Base address in checksummed 0x form (EIP-55), supplied and confirmed by the user. Not this kit's own address. |