{"name":"KeyScrow Inspector","description":"Neutral return inspector for KeyScrow scooter-rental deposit escrows on BNB Chain. Compares pickup and return photos of the scooter and proposes how the deposit is split (tenantRefund = renter, landlordClaim = owner), with reasons, a confidence score and a reportHash that the renter or owner passes to RentalEscrow.propose(). Every report is signed by this agent's ERC-8004 identity. ERC-8004 agent #2921 (eip155:97:0x8004A818BFB912233c491871b3d84c89A494BD9e).","url":"https://agent.keyscrow.app/a2a","version":"0.1.0","protocolVersion":"0.3.0","preferredTransport":"JSONRPC","provider":{"organization":"KeyScrow","url":"https://github.com/midego1/bnb-hackathon"},"documentationUrl":"https://github.com/midego1/bnb-hackathon/blob/main/docs/AGENT.md","capabilities":{"streaming":false,"pushNotifications":false},"defaultInputModes":["application/json"],"defaultOutputModes":["application/json"],"skills":[{"id":"inspect_move_out","name":"Scooter return inspection","description":"Compare pickup vs return photos of a scooter rental and propose the deposit split. Send one A2A data part with {\"deposit\": \"<base units>\", \"decimals\": 6, \"currency\": \"USDT\", \"checkIn\": [{\"hash\"|\"url\", \"label\"?}], \"checkOut\": [...], \"notes\"?: \"...\"} (an optional \"skill\": \"inspect_move_out\" key is ignored). Returns {tenantRefund, landlordClaim, reasons[], confidence, reportHash, inspector, inspectorSignature, ...}; tenantRefund + landlordClaim always equals the deposit. Pass reportHash to RentalEscrow.propose().","tags":["keyscrow","rental","scooter","deposit","inspection","escrow","bnb-chain","erc-8004"],"examples":["{\"deposit\":\"200000000\",\"checkIn\":[{\"hash\":\"0x0ed1…59ce\",\"label\":\"Left side\"}],\"checkOut\":[{\"hash\":\"0xdaa4…3b85\",\"label\":\"Left side\"}]}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"get_lease","name":"Get a rental","description":"Read one KeyScrow rental straight from the chain: owner, renter, dispute desk, rent and deposit (in mUSDT, with baht/dollar equivalents), rent period, periods paid and paid out, the current deposit proposal and any running deadline. Use explain_status for a plain-language summary instead. Who: anyone.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","read"],"examples":["{\"skill\":\"get_lease\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"list_leases","name":"List rentals of a wallet","description":"List the KeyScrow rentals a wallet is part of, newest first, from the factory's on-chain index (no indexer needed). Give `role` to only list rentals where the wallet is the owner, the renter or the dispute desk. Who: anyone.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","read"],"examples":["{\"skill\":\"list_leases\",\"party\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\",\"role\":\"renter\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"explain_status","name":"Explain where the deposit is","description":"Plain-language answer to \"where is my deposit and what happens next?\" for one rental: who holds the deposit, what each party can do now (with the prepare_* tool for it), and who must act by when (deadlines in UTC, from chain time). Pass `viewer` to phrase it for that wallet. Show the `text` field to the person as is. Who: anyone.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","read"],"examples":["{\"skill\":\"explain_status\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"viewer\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"quote","name":"Convert baht / dollars / mUSDT","description":"Convert an amount between Thai baht (THB), US dollars (USD) and the rental token (mUSDT, a test USDT) at the current rate (Atlas on-chain feeds, then CoinMarketCap, else clearly marked demo rates: check `mock`). Use it to turn \"3,000 baht a month\" into the mUSDT amount the contract stores. Who: anyone.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","read"],"examples":["{\"skill\":\"quote\",\"amount\":\"18000\",\"currency\":\"THB\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"wallet_history","name":"Wallet history for the dispute desk","description":"A wallet's track record on KeyScrow, for a dispute: rentals as renter and as owner, how many settled, every dispute (who opened it, who got what), the owner's deposit claims next to the AI inspection's proposal, rent paid on time vs late, and timeouts. Exact numbers from the chain; `summary` says it in plain sentences. `memory` lists what Living Brain remembers about the wallet (one factual entry per settled rental, with its transaction). Wallet addresses only, no names. The AI summarises; the dispute desk decides. Who: anyone.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","read"],"examples":["{\"skill\":\"wallet_history\",\"wallet\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_create_lease","name":"Create a rental","description":"Prepare the transaction that creates a rental offer, signed by the owner. Amounts can be given in baht, dollars or mUSDT; baht/dollars are converted at the current rate (see `summary`). `rent` is a monthly price; with weekly or two-weekly rent (`rentPeriodDays` 7 or 14) the rent per period is monthly x days / 30, rounded down. The deposit is either an amount or a number of months of rent. The renter then funds it with prepare_fund. Returns the unsigned transaction and, in `expected.lease`, the rental's address if nobody else creates one first. Who: the owner (landlord on-chain). Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_create_lease\",\"from\":\"0x70997970C51812dc3A010C7d01b50e0d17dc79C8\",\"renter\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\",\"rent\":\"18000\",\"currency\":\"THB\",\"depositMonths\":2,\"termPeriods\":12}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_fund","name":"Fund the rental (renter)","description":"Prepare the renter's transactions to start the rental: approve the escrow to take deposit + the first period's rent (skipped if already approved), then fund(). Sign them in order. Who: the renter (tenant on-chain). Needs rental status: Created. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_fund\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_release_rent","name":"Pay out due rent","description":"Prepare the transaction that pays funded rent out to the owner. Anyone may release rent periods that are due; the renter may also release prepaid periods early. Who: anyone. Needs rental status: Active or MoveOut or Disputed. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_release_rent\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x70997970C51812dc3A010C7d01b50e0d17dc79C8\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_add_evidence","name":"Anchor photos or a document","description":"Prepare the transaction that anchors the hash of off-chain evidence (pickup photos, return photos, a report) on the rental. Upload the file first with POST /api/evidence and pass the returned sha256 `hash` here. Who: the owner (landlord on-chain) or the renter (tenant on-chain). Needs rental status: Created or Active or MoveOut or Disputed. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_add_evidence\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\",\"kind\":\"check_out\",\"contentHash\":\"0x9d9e1f7ac51b4a8f8a3c1f0b3d8f0f6e3e2b1c0d9a8b7c6d5e4f3a2b1c0d9e8f\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_propose_settlement","name":"Propose the deposit split","description":"Prepare the transaction that proposes how the deposit is split at return. Either pass the AI inspection result (`inspection`, from inspect_move_out) or an amount (`toRenter`) with an optional `note`. A new proposal replaces the previous one. If the renter proposes and the owner stays silent past the reply window, the full deposit goes back to the renter. Who: the owner (landlord on-chain) or the renter (tenant on-chain). Needs rental status: Active or MoveOut. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_propose_settlement\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\",\"toRenter\":\"800\",\"note\":\"Small scratch on the left panel\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_accept","name":"Accept the proposal","description":"Prepare the transaction that accepts the current deposit proposal; the deposit pays out immediately. Only the side that did NOT make the proposal can accept. Pass `nonce` (from get_lease) to make sure you accept exactly the proposal you reviewed. Who: the owner (landlord on-chain) or the renter (tenant on-chain). Needs rental status: MoveOut. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_accept\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x70997970C51812dc3A010C7d01b50e0d17dc79C8\",\"nonce\":1}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_dispute","name":"Open a dispute","description":"Prepare the transaction that sends the rental to the dispute desk. The deposit stays frozen until the desk rules; if it does not rule within its deadline, the full deposit can go back to the renter. Who: the owner (landlord on-chain) or the renter (tenant on-chain). Needs rental status: Active or MoveOut. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_dispute\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_resolve","name":"Rule on a dispute (dispute desk)","description":"Prepare the dispute desk's ruling on the deposit split. Only the rental's arbiter can sign it, and only before its deadline. Give the written `ruling` (hashed on-chain) or the `rulingHash` of an uploaded ruling document. Who: the dispute desk (arbiter). Needs rental status: Disputed. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_resolve\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x90F79bf6EB2c4f870365E785982E1f101E93b906\",\"toRenter\":\"782.36\",\"ruling\":\"Repaint claim partly upheld: 100 mUSDT to the owner.\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_claim_timeout","name":"Claim a missed deadline","description":"Prepare the transaction that closes a rental after a missed deadline, returning the FULL deposit to the renter: either the owner did not answer the renter's proposal within the reply window, or the dispute desk did not rule within its deadline. Anyone can send it once the deadline has passed (see explain_status). Who: anyone. Needs rental status: MoveOut or Disputed. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_claim_timeout\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC\"}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_cancel","name":"Withdraw an unfunded offer","description":"Prepare the owner's transaction that withdraws a rental offer the renter has not funded yet. No money moves. Who: the owner (landlord on-chain). Needs rental status: Created. Returns {chainId, steps:[{to, data, value, description}], summary} with UNSIGNED transactions, already simulated on the chain; show the summary, then have the person sign the steps in order with their own wallet. Nothing is sent by this tool.","tags":["keyscrow","rental","scooter","deposit","escrow","bnb-chain","unsigned-tx"],"examples":["{\"skill\":\"prepare_cancel\",\"lease\":\"0x9f1ac54BEF0DD2f6f3462EA0fa94fC62300d3a8e\",\"from\":\"0x70997970C51812dc3A010C7d01b50e0d17dc79C8\"}"],"inputModes":["application/json"],"outputModes":["application/json"]}]}