file_read
file_readRead a file from a WordPress site's wp-content directory by specifying a path relative to wp-content, enabling inspection of themes, plugins, uploads, and other stored files.
Instructions
Read a file inside wp-content.
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": {
"path": "<path>"
},
"name": "file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to wp-content |