Read document
read_documentUse this when the user needs structured document content from a PDF, DOCX, XLSX, CSV, JSON or XML file on a paired computer. Returns extracted content and bounded metadata from the document path.
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>",
"device": "<device>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Document path. | |
| sheet | No | Worksheet name for XLSX. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| max_cells | No | Maximum number of spreadsheet cells to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Read document structured result for read_document. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload. | |
| text | Yes | Concise human-readable result of the tool call. |