LearnNewsExamplesServices
Frontmatter
id7516
titleBug: query_documents input parameter mismatch
stateClosed
labels
bugai
assigneestobiu
createdAtOct 16, 2025, 4:07 PM
updatedAtOct 16, 2025, 4:15 PM
githubUrlhttps://github.com/neomjs/neo/issues/7516
authortobiu
commentsCount0
parentIssue7501
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 16, 2025, 4:15 PM

Bug: query_documents input parameter mismatch

Closed v11.0.0 bugai
tobiu
tobiu commented on Oct 16, 2025, 4:07 PM

When calling the query_documents tool, the MCP client receives an error: params must NOT have additional properties. Additionally, the queryDocuments service function reports that "A query string must be provided," indicating that the query parameter is not being correctly passed.

This bug prevents the query_documents tool from functioning correctly, as its input parameters are not being validated or routed as expected.

Acceptance Criteria

  1. The openapi.yaml definition for the query_documents tool is reviewed and corrected.
  2. The buildZodSchema function in toolService.mjs is reviewed to ensure it correctly processes requestBody parameters for direct argument mapping.
  3. The query and type parameters are correctly passed from the MCP client to the queryDocuments service function.
  4. The query_documents tool executes successfully with valid parameters.
tobiu assigned to @tobiu on Oct 16, 2025, 4:07 PM
tobiu added the bug label on Oct 16, 2025, 4:07 PM
tobiu added parent issue #7501 on Oct 16, 2025, 4:07 PM
tobiu added the ai label on Oct 16, 2025, 4:07 PM
tobiu referenced in commit 819f7e0 - "Bug: query_documents input parameter mismatch #7516" on Oct 16, 2025, 4:15 PM
tobiu closed this issue on Oct 16, 2025, 4:15 PM