read_file
Retrieve the contents of any file from a deployed site by specifying the deploy ID and file path relative to the site root.
Instructions
Read a single file's contents from a deployed site. Path is relative to the site root (e.g. 'index.html', 'assets/logo.svg').
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": {
"deploy_id": "<deploy_id>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path inside the deploy. No leading slash, no '..'. Examples: 'index.html', 'css/main.css'. | |
| deploy_id | Yes | The deploy_id that contains the file. |