Read file
nekoweb_read_fileReads the raw source of a Nekoweb site file, returning HTML with SSI directives unrendered and text paginated by character offset; images up to 5 MB return as images, other binaries as size.
Instructions
Read the raw source of a file on your Nekoweb site (SSI directives in .html files are returned as written, not rendered).
Text files are returned as text, paginated by character offset. Images up to 5.0 MB are returned as images. Other binaries return only their size.
Examples:
"Show me my homepage HTML" -> { path: "/mysite.nekoweb.org/index.html" }
"Read the rest of the stylesheet" -> { path: "/mysite.nekoweb.org/style.css", offset: 20000 }
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": "nekoweb_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path from the account's file root, including the site folder, e.g. '/mysite.nekoweb.org/index.html' | |
| offset | No | Character offset to start reading from, for files longer than max_chars | |
| max_chars | No | Maximum characters of text to return |