clearly_file_read
Read file details, contents and a download link for an accessible workspace file by id. Images and SVGs return image content. Text, code, CSV, JSON, Markdown, HTML, Word, RTF and PDF return text with optional pagination and line matching.
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": {
"id": "<id>"
},
"name": "clearly_file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| grep | No | Text: every matching line, numbered. | |
| limit | No | Text: lines to return. | |
| offset | No | Text: start at this line (0-based). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| error | No |