Update rental request status
update_rental_request_statusChange a rental request to in review, accepted, rejected, or cancelled according to the authenticated user’s role. Acceptance marks the room as rented; status changes may notify the other participant.
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": {
"request_id": "<request_id>",
"status": "<status>"
},
"name": "update_rental_request_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| request_id | Yes | ||
| available_from | No | YYYY-MM-DD; required when accepting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| request_id | Yes | ||
| available_from | Yes |