Skip to content

Commit ffeef5b

Browse files
committed
fix(ai): Add x-pass-as-object to manage_connection tool (#8332)
1 parent 9613d44 commit ffeef5b

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.github/ISSUE/issue-8332.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+

ai/mcp/server/neural-link/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)