File tree Expand file tree Collapse file tree
ai/mcp/server/neural-link Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ id : 8332
3+ title : Fix manage_connection tool argument passing
4+ state : OPEN
5+ labels :
6+ - bug
7+ - ai
8+ - architecture
9+ assignees :
10+ - tobiu
11+ createdAt : ' 2026-01-05T11:58:21Z'
12+ updatedAt : ' 2026-01-05T11:58:45Z'
13+ githubUrl : ' https://github.com/neomjs/neo/issues/8332'
14+ author : tobiu
15+ commentsCount : 0
16+ parentIssue : 8169
17+ subIssues : []
18+ subIssuesCompleted : 0
19+ subIssuesTotal : 0
20+ blockedBy : []
21+ blocking : []
22+ ---
23+ # Fix manage_connection tool argument passing
24+
25+ The ` manage_connection ` tool fails because ` x-pass-as-object: true ` is missing in ` openapi.yaml ` .
26+ ` ToolService ` passes arguments positionally, but ` ConnectionService.manageConnection ` expects a destructured object.
27+
28+ ** Fix:**
29+ Add ` x-pass-as-object: true ` to ` /connection/manage ` in ` openapi.yaml ` .
30+
31+ ## Activity Log
32+
33+ - 2026-01-05 @tobiu added the ` bug ` label
34+ - 2026-01-05 @tobiu added the ` ai ` label
35+ - 2026-01-05 @tobiu added the ` architecture ` label
36+ - 2026-01-05 @tobiu assigned to @tobiu
37+ - 2026-01-05 @tobiu added parent issue #8169
38+
Original file line number Diff line number Diff line change @@ -770,6 +770,7 @@ paths:
770770 post :
771771 summary : Manage WebSocket Server
772772 operationId : manage_connection
773+ x-pass-as-object : true
773774 description : |
774775 Manages the WebSocket server connection (start/stop).
775776
You can’t perform that action at this time.
0 commit comments