Skip to content

ask: 'most recent docx I modified in OneDrive' returns 1,500+ unscoped results instead of my files #165

Description

@pdebruin

Summary

ask_work_iq cannot answer "what is the most recent .docx I updated in OneDrive?" It returns 1,532 globally-scoped file results with no filtering to the requesting user's OneDrive or modification history.

Reproduction

  1. Ask: What is the most recent .docx file I updated in OneDrive?
  2. Response returns a broad enterprise file search result (e.g. an unrelated Seismic-hosted document) with no indication it is in the user's OneDrive or modified by the user.

Expected behavior

The query should scope to:

  • Files in the authenticated user's OneDrive
  • Modified by the authenticated user
  • Sorted by last modified date descending

Environment

  • Copilot CLI 1.0.74-3
  • WorkIQ MCP plugin (npm @microsoft/workiq)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions