create_booking
Create a booking. CRITICAL: Check start/end time year. Do NOT default to 2024. Use 'get_dispatch_context_and_time' to verify "Today". ONE-SHOT: CALCULATE dates yourself from context. Do NOT ask user for ISO strings. ACTION: You MUST output the Booking Confirmation Summary returned by this tool. If this tool is not called, NO booking exists.
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": {
"validityToken": "<validityToken>",
"start": "<start>",
"end": "<end>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End time (ISO). Verify YEAR is current. | |
| notes | No | Operational notes or remarks | |
| start | Yes | Start time (ISO). Verify YEAR is current. | |
| aircraftId | No | Aircraft Registration (e.g. PH-DEMO). | |
| validityToken | Yes | Token from get_dispatch_context_and_time. REQUIRED. |