get_order
Retrieve a single WooCommerce order by ID, including line items, status, and totals. Read-only, so no store data is changed.
Instructions
Fetch a single order (line items, status, totals) by id.
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>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |