teams_workspace_read
Reads text files from a workspace directory. For binary files like docx or pdf, returns metadata and a file path hint for direct access.
Instructions
Read a text file from the workspace directory.
For binary files (docx, pdf, xlsx, etc.), this tool returns metadata and a path hint instead of content. Use the filesystem server to read binary files directly.
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": {
"filename": "<filename>"
},
"name": "teams_workspace_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Name of the file to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||