Read an order
wp_wc_get_orderRetrieve a single WooCommerce order by its ID to view status, totals, customer details, line items, payment method, and customer note; use it after listing orders to inspect a specific order.
Instructions
WooCommerce: get one order by id. Returns the fields of the order list (id, status, total, currency, customer, email, date) plus items (name, quantity, line total), payment_method (its title) and note_to_customer. An unknown id returns a not-found error; wp_wc_list_orders lists the orders with their ids. Read-only; needs manage_woocommerce. Requires WooCommerce.
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>"
},
"name": "wp_wc_get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Order id (the order number WooCommerce shows, unless a plugin renumbers orders). |