update_order_notes
Appends a timestamped 'via AI' note by default
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": {
"farmId": "<farmId>",
"orderId": "<orderId>",
"notes": "<notes>"
},
"name": "update_order_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Mode to edit notes: "append" (timestamped suffix) or "replace" (overwrite). Defaults to "append". | |
| notes | Yes | The internal notes text content | |
| farmId | Yes | The unique farm ID | |
| confirm | No | Set to true to commit writes, false to preview | |
| orderId | Yes | The order document ID to update | |
| confirmReplace | No | Must be set to true if mode is "replace" to confirm overriding existing notes. | |
| idempotencyKey | No | Optional unique key to prevent duplicate edits |