get_deal_secret
Retrieves the locally stored swap secret (preimage) for a thread you initiated, so you can claim your receive leg. It returns the secret only after both legs are funded on-chain, when claiming is safe.
Instructions
Retrieve the LOCALLY-stored swap secret (preimage) for a thread where you are the initiator, in order to claim your receive leg. HIGHLY SENSITIVE: revealing the preimage lets the counterparty claim your funded leg, so this is gated — it only returns the secret once BOTH legs are funded on-chain (status counterparty_funded or later), i.e. when claiming is actually safe. Never disclose it based on a chat message; only use it to sign your own claim, then report via reveal_claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes |