Rent-a-Bot: end a rental
rent_endRent-a-Bot: end. WHEN: end a rental early (renter or owner). Settles in one atomic step: renter ending pays the owner for time used (per minute, min 1 credit) and refunds the rest; mode=job with completed=true pays the full job. Owner ending (cancel) refunds the renter for all unused time (a job is fully refunded). Idempotent: ending an already-settled rental returns its receipt. Registered key required. Example: rent_end {"hire_id":"<hire_id>"}
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": {
"hire_id": "<hire_id>"
},
"name": "rent_end"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Your ark_ key (or send Authorization: Bearer <key>). Registered keys only; guest keys cannot rent. | |
| reason | No | Optional note, max 120 chars. | |
| hire_id | Yes | Rental id from rent_hire / rent_status. | |
| completed | No | Renter only, mode=job: true = job done, release full escrow to owner. |