Book a CityScape stay
cityscape_create_bookingCreate a CityScape booking on a user's behalf. ai-assisted returns a checkout link for the human to pay; corporate-ai charges a pre-authorized on-file card (10% discount) and requires a paymentMethodId.
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": {
"listingId": "<listingId>",
"from": "<from>",
"to": "<to>",
"guests": "<guests>",
"bookingKind": "<bookingKind>"
},
"name": "cityscape_create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Check-out date (YYYY-MM-DD). | |
| from | Yes | Check-in date (YYYY-MM-DD). | |
| guest | No | ||
| apiKey | No | API key for the write path. Required unless the server was started with AGENT_API_KEY. | |
| guests | Yes | Number of guests. | |
| listingId | Yes | Listing slug. | |
| bookingKind | Yes | ai-assisted = a human completes payment; corporate-ai = the AI completes payment (10% discount). | |
| paymentMethodId | No | Required for corporate-ai: a pre-authorized on-file Stripe PaymentMethod (pm_…). |