Read Nextcloud text file
read_text_fileRead bounded UTF-8 file content from a connected private Nextcloud workspace root, enforcing transfer limits and blocking access outside that root.
Instructions
Read bounded UTF-8 content from the user's connected private Nextcloud workspace root.
Enforces the transfer size limit and cannot fetch arbitrary URLs or files outside that root.
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": "read_text_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| size | Yes | ||
| content | Yes | ||
| encoding | No | utf-8 |