Add Line Item
add_line_itemAdd a line item to a booking (e.g. 'extra half hour', travel). The amount (price x quantity) is added to the booking total.
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": {
"id": "<id>",
"description": "<description>",
"price": "<price>"
},
"name": "add_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record's numeric id, from the matching list/get/search tool. | |
| price | Yes | An amount in US dollars, e.g. 250 or 250.00. | |
| quantity | No | ||
| description | Yes | A free-text description. |