Read a OneDrive file
m365_files_readA file's words, up to 5 MB: text, PDF, Word, Excel and PowerPoint files are read in a separate, capped process. Free. Free.
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": {
"file_id": "<file_id>"
},
"name": "m365_files_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| mailbox | No | One of the mailboxes the agent may act as; optional when only one is connected. |