read_file
Reads the full text content of a file on a cPanel server, with an optional relative directory path, so AI clients can inspect files without SSH.
Instructions
Read the full text content of a file on the cPanel server.
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": {
"file": "<file>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Relative directory path (leave empty for root). | |
| file | Yes | File name to read (e.g., index.php, style.css). |