read_file
Retrieve file content from a shared folder by specifying its file path. The tool automatically resolves the path to a document ID.
Instructions
Read a file from a folder share by its path.
Resolves path -> doc_id automatically. This is the recommended way to read files from folder shares.
Args: share_id: UUID of the folder share. file_path: File path within the folder (e.g. "Marketing/plan.md").
Returns: JSON with doc_id, content, format, 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": {
"share_id": "<share_id>",
"file_path": "<file_path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |