add_block
Block dates on one of the operator's boats so they cannot be booked. On a partner-synced boat the hold is placed on that partner too, and with X-Lock on also on the other partner. Returns the stored block and how each hold went.
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": {
"boat_id": "<boat_id>",
"start_at": "<start_at>",
"end_at": "<end_at>"
},
"name": "add_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| end_at | Yes | Last day, YYYY-MM-DD. | |
| reason | No | ||
| boat_id | Yes | Boat id, from list_boats. | |
| start_at | Yes | First day, YYYY-MM-DD. |