rest_proxy
Proxies HTTP requests to internal REST routes of managed WordPress sites, enabling CRUD operations on custom endpoints.
Instructions
Llama una ruta REST interna del WordPress objetivo.
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": {
"site": "<site>",
"route": "<route>"
},
"name": "rest_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | site_id, site_label o base_url del sitio. | |
| route | Yes | Ruta interna, por ejemplo /wc/v3/products o /elementor/v1/... | |
| method | No | GET | |
| params_json | No | Objeto JSON con query params. | |
| body_json | No | Objeto JSON con body. |