Add or edit a hotel guest
save_hotel_guestAssign a member of your organization to a recorded hotel stay, or edit their room assignment. Without guest_id this adds user_id (from list_org_members) with room number, their own confirmation number and notes. With guest_id (guests[].id, not user_id) it edits that row: pass just the fields to change; null clears. Returns the whole stay. Requires project-manager access. Runs on the first call; there is no confirmation step.
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": {
"project_id": "<project_id>",
"stay_id": "<stay_id>"
},
"name": "save_hotel_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | notes for this guest; null clears | |
| stay_id | Yes | stay id from list_project_travel | |
| user_id | No | when adding: the guest, a member of your organization | |
| guest_id | No | edit this guest row (guests[].id, not user_id); omit to add one | |
| project_id | Yes | project id from list_projects, or a gig's project_id from get_event | |
| room_number | No | room number; null clears | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| confirmation_number | No | this guest's own confirmation number; null clears |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | tool payload (API/composite/confirmation object); object, array, or primitive JSON | |
| error | No | when ok is false |