LearnNewsExamplesServices
Frontmatter
id7509
titleImplement Document Retrieval Services
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 16, 2025, 1:06 PM
updatedAtOct 16, 2025, 1:11 PM
githubUrlhttps://github.com/neomjs/neo/issues/7509
authortobiu
commentsCount0
parentIssue7501
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 16, 2025, 1:11 PM

Implement Document Retrieval Services

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 16, 2025, 1:06 PM

This ticket covers the implementation of the previously optional document retrieval endpoints. This will provide essential tools for inspecting and debugging the contents of the knowledge base.

Two distinct tools will be created:

  1. list_documents: To list documents from the collection, with support for pagination.
  2. get_document_by_id: To retrieve a single document by its unique ID.

Acceptance Criteria

  1. The openapi.yaml file is updated with two new endpoints:
    • GET /documents
    • GET /documents/{id}
  2. The endpoints have operationIds of list_documents and get_document_by_id respectively.
  3. A new ai/mcp/server/knowledge-base/services/documentService.mjs file is created.
  4. The service contains listDocuments and getDocumentById functions.
  5. The toolService.mjs serviceMapping is updated to point the new operationIds to their respective service functions.
tobiu assigned to @tobiu on Oct 16, 2025, 1:06 PM
tobiu added the enhancement label on Oct 16, 2025, 1:06 PM
tobiu added the ai label on Oct 16, 2025, 1:06 PM
tobiu added parent issue #7501 on Oct 16, 2025, 1:06 PM
tobiu referenced in commit 2d57001 - "Implement Document Retrieval Services #7509" on Oct 16, 2025, 1:10 PM
tobiu closed this issue on Oct 16, 2025, 1:11 PM