Frontmatter
| id | 7841 |
| title | Fix list_issues tool schema validation error |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Nov 21, 2025, 2:02 PM |
| updatedAt | Nov 21, 2025, 2:35 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7841 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 21, 2025, 2:35 PM |
Fix list_issues tool schema validation error
tobiu assigned to @tobiu on Nov 21, 2025, 2:03 PM

tobiu
Nov 21, 2025, 2:34 PM
Input from Gemini:
✦ Fixed the
list_issuesschema validation error by:
- Creating a new, optimized GraphQL query
FETCH_ISSUES_LISTinissueQueries.mjsthat fetches only the required fields.- Updating
IssueService.mjsto use this new query.- Implementing in-place transformation in
IssueService.listIssuesto flattenlabelsandassigneesfrom GraphQL nodes to simple arrays, strictly matching the OpenAPI schema.The tool now returns correctly formatted data.
tobiu closed this issue on Nov 21, 2025, 2:35 PM
The
list_issuestool fails with a schema validation error because theIssueService.listIssuesmethod returns raw GraphQL response structures forlabelsandassignees(nested undernodes), whereas the OpenAPI schema expects flat arrays.Error:
data/issues/0/labels must be arraydata/issues/0/assignees must be arrayFix: Transform the GraphQL response in
IssueService.listIssuesto maplabels.nodestolabelsandassignees.nodestoassigneesbefore returning the data.