find_and_book_appointment
Find the next available dock slot for a load type and book it in one step. Combines appointment search and creation to save time.
Instructions
Find the next available slot for a load type and book it in one step.
Calls the first-available-appointment endpoint to get open slots across all docks and load types, filters to the requested loadTypeId (and optionally a preferred dock), then creates the appointment automatically. Use this instead of manually chaining get_first_available_appointment + create_appointment.
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": {
"loadTypeId": "<loadTypeId>",
"warehouseId": "<warehouseId>"
},
"name": "find_and_book_appointment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loadTypeId | Yes | Load type ID to book | |
| warehouseId | Yes | Warehouse ID | |
| dockId | No | Preferred dock ID; if omitted, uses first available dock for this load type | |
| carrierId | No | Carrier ID | |
| referenceNumber | No | Reference number | |
| notes | No | Appointment notes |