LearnNewsExamplesServices
Frontmatter
id8334
titleFix query_component missing returnProperties argument
stateClosed
labels
bugai
assigneestobiu
createdAtJan 5, 2026, 1:46 PM
updatedAtJan 5, 2026, 1:48 PM
githubUrlhttps://github.com/neomjs/neo/issues/8334
authortobiu
commentsCount0
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 5, 2026, 1:48 PM

Fix query_component missing returnProperties argument

Closed v11.18.0 bugai
tobiu
tobiu commented on Jan 5, 2026, 1:46 PM

The query_component tool in the Neural Link MCP server fails to pass the returnProperties argument from the API request to the client-side service.

Root Cause: In ai/mcp/server/neural-link/services/ComponentService.mjs, the queryComponent method destructs its arguments but omits returnProperties:

async queryComponent({selector, rootId, sessionId}) {
    return await ConnectionService.call(sessionId, 'query_component', {selector, rootId});
}

Impact: The returnProperties feature (returning a lean response) is silently ignored, causing the tool to always return the full component serialization.

Fix: Update the method signature and the ConnectionService.call arguments to include returnProperties.

tobiu added the bug label on Jan 5, 2026, 1:46 PM
tobiu added the ai label on Jan 5, 2026, 1:46 PM
tobiu assigned to @tobiu on Jan 5, 2026, 1:47 PM
tobiu added parent issue #8169 on Jan 5, 2026, 1:47 PM
tobiu referenced in commit d936b6c - "Fix query_component missing returnProperties argument #8334" on Jan 5, 2026, 1:48 PM
tobiu closed this issue on Jan 5, 2026, 1:48 PM