read_file
Read a file from the WordPress site's root directory (ABSPATH) by specifying the site and relative path.
Instructions
Lee un archivo dentro del ABSPATH del sitio.
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>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | site_id, site_label o base_url del sitio. | |
| path | Yes |