m365_chat_with_files
Analyze and query specific Microsoft 365 documents using Copilot AI to summarize content, compare files, and extract information from provided SharePoint or OneDrive URIs.
Instructions
Ask questions about specific documents you already have URIs for.
M365 Copilot reads the files and answers.
Use for:
- Summarizing known documents
- Comparing specific files
- Extracting info from particular docs
Use m365_search first when:
- You need to find the files
Use m365_retrieve when:
- You want raw text chunks, not Copilot's synthesis
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Question about the provided files. E.g., 'Summarize key risks' or 'Compare revenue projections between these reports'. | |
| file_uris | Yes | SharePoint/OneDrive file URIs to analyze. Get URIs from m365_search results or SharePoint URLs. E.g., ['https://contoso.sharepoint.com/sites/Sales/proposal.docx'] | |
| conversation_id | No | For follow-up questions about same files, pass conversation_id from previous response. |