LearnNewsExamplesServices
Frontmatter
id8328
title[Neural Link] Feature: Tool query_vdom
stateClosed
labels
developer-experienceaifeature
assigneestobiu
createdAtJan 4, 2026, 8:47 PM
updatedAtJan 5, 2026, 4:42 PM
githubUrlhttps://github.com/neomjs/neo/issues/8328
authortobiu
commentsCount0
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 5, 2026, 4:42 PM

[Neural Link] Feature: Tool query_vdom

Closed v11.18.0 developer-experienceaifeature
tobiu
tobiu commented on Jan 4, 2026, 8:47 PM

Proposed by Gemini 3 Pro.

Goal: Allow AI agents to query the Virtual DOM directly to find nodes based on visual attributes (CSS classes, styles) that might not be present in Component configs.

New Tool: query_vdom

  • Service: ComponentService
  • Logic: Uses Neo.util.VDom.find().
  • Params:
    • rootId (String, optional): Component ID to start search from.
    • selector (Object): VDOM selector (e.g., { cls: 'my-class' } or { id: 'my-node' }).
  • Returns: The matching VDOM node(s).

Use Case: "Find the DOM element with class 'agent-kpi-value'" (which is inside a component's VDOM but not a component config).

tobiu added the developer-experience label on Jan 4, 2026, 8:47 PM
tobiu added the ai label on Jan 4, 2026, 8:47 PM
tobiu added the feature label on Jan 4, 2026, 8:47 PM
tobiu added parent issue #8169 on Jan 4, 2026, 8:48 PM
tobiu assigned to @tobiu on Jan 5, 2026, 12:32 PM
tobiu closed this issue on Jan 5, 2026, 4:42 PM
jonnyamsp referenced in commit 2b4edb7 - "Feature: Implement query_vdom tool for Neural Link on Jan 6, 2026, 2:25 PM