woo_products
Retrieve WooCommerce products from a store by listing them with filters like status or category, or fetch a single product by ID using your store URL and API credentials.
Instructions
List or get WooCommerce products.
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": {
"store_url": "<store_url>",
"consumer_key": "<consumer_key>",
"consumer_secret": "<consumer_secret>"
},
"name": "woo_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Product ID for action='get' | |
| page | No | ||
| order | No | ||
| action | No | list or get (default: list) | |
| search | No | ||
| status | No | publish, draft, pending, private | |
| orderby | No | ||
| category | No | ||
| per_page | No | ||
| store_url | Yes | WooCommerce store URL (e.g. https://mystore.com) | |
| consumer_key | Yes | WooCommerce consumer key (ck_...) | |
| consumer_secret | Yes | WooCommerce consumer secret (cs_...) |