Receive stay purchase proof
claim_stay_proofReceive a stay purchase proof (SB-… ID, from a stay booked and paid through a GYOTAKU Protocol store window) with its claim code, and link it to your GYOTAK referral account. Works only through your personal token URL. Optional: show_referral puts your referral URL for that stay on the public proof page; handle links your own X account to the proof on the public chain (permanent; it cannot be removed). Call again with the same code to change show_referral or add an X account.
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": {
"purchase_id": "<purchase_id>",
"claim_code": "<claim_code>"
},
"name": "claim_stay_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | Your own X handle without @ (optional; recorded permanently on the public chain). Pass it only if the user explicitly asks. | |
| claim_code | Yes | Claim code shown with the booking status (SC-...) | |
| purchase_id | Yes | Stay purchase proof ID, SB-YYYYMMDD-xxxxxxxx | |
| show_referral | No | Show your referral URL for this stay on the public proof page (default false) |