Frontmatter
| id | 8419 |
| title | Update /knowledge/ask tool description in openapi.yaml |
| state | Closed |
| labels | documentationai |
| assignees | tobiu |
| createdAt | Jan 8, 2026, 12:50 PM |
| updatedAt | Jan 8, 2026, 12:52 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8419 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 8, 2026, 12:52 PM |
Update /knowledge/ask tool description in openapi.yaml
tobiu assigned to @tobiu on Jan 8, 2026, 12:51 PM

tobiu
Jan 8, 2026, 12:51 PM
Input from Gemini 3 Pro:
✦ I have updated the
descriptionfield for the/knowledge/askendpoint inai/mcp/server/knowledge-base/openapi.yaml. It now explicitly lists thetypeparameter as an optional input, matching the tool's schema and implementation.
tobiu closed this issue on Jan 8, 2026, 12:52 PM
The
ask_knowledge_basetool definition inai/mcp/server/knowledge-base/openapi.yamlis missing thetypeparameter in its textual description, although it is defined in the schema.This discrepancy hides the functionality from AI agents using the tool.
Task: Update the
descriptionfield for the/knowledge/askpath to explicitly include thetypeparameter, mirroring the documentation style ofquery_documents.Goal: Ensure AI agents are aware they can filter RAG queries by content type (e.g.,
src,guide).