Help Needed: AI Integration & XPCOM API Enhancements for Zotero Analytical-Reading-Agent

I’m developing an analytical-reading-agent plugin for Zotero that, on loading a PDF or EPUB, automatically builds an interactive “knowledge map” to help users visually explore a work’s structure and ideas, making deep analytical reading more accessible and improving the overall reading experience.

In the early stages of development, however, I’ve encountered a technical limitation: I need core XPCOM functions—namely addAnnotation, selectContent, findText, and searchAnnotations—to attach notes and to locate or highlight specific passages, but the current API doesn’t expose them. While extending the API would be a substantial undertaking, I’m convinced that adding these capabilities will position Zotero as a forward-looking, AI-powered academic reader.
  • I need core XPCOM functions—namely addAnnotation, selectContent, findText, and searchAnnotations—to attach notes and to locate or highlight specific passages, but the current API doesn’t expose them.
    Where are you getting those function names from? An AI tool? If so, it's hallucinating. None of those exist in Zotero, as XPCOM functions or otherwise.
Sign In or Register to comment.