create_order_note
Add a note to any WooCommerce order. Set customer_note to true to email the note to the customer; otherwise, it remains a private admin note.
Instructions
Add a note to an order. Set customer_note=true to send an email notification to the customer with the note content. Default is a private admin note.
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": {
"order_id": "<order_id>",
"note": "<note>"
},
"name": "create_order_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Note content | |
| fields | No | Comma-separated fields to return in response | |
| order_id | Yes | Order ID | |
| customer_note | No | If true, sends email notification to customer (default: false) |