LearnNewsExamplesServices
Frontmatter
id8419
titleUpdate /knowledge/ask tool description in openapi.yaml
stateClosed
labels
documentationai
assigneestobiu
createdAtJan 8, 2026, 12:50 PM
updatedAtJan 8, 2026, 12:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/8419
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 12:52 PM

Update /knowledge/ask tool description in openapi.yaml

Closed v11.19.0 documentationai
tobiu
tobiu commented on Jan 8, 2026, 12:50 PM

The ask_knowledge_base tool definition in ai/mcp/server/knowledge-base/openapi.yaml is missing the type parameter 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 description field for the /knowledge/ask path to explicitly include the type parameter, mirroring the documentation style of query_documents.

Goal: Ensure AI agents are aware they can filter RAG queries by content type (e.g., src, guide).

tobiu added the documentation label on Jan 8, 2026, 12:50 PM
tobiu added the ai label on Jan 8, 2026, 12:50 PM
tobiu referenced in commit 1a658be - "docs: Update /knowledge/ask description in openapi.yaml (#8419)" on Jan 8, 2026, 12:51 PM
tobiu assigned to @tobiu on Jan 8, 2026, 12:51 PM
tobiu
tobiu Jan 8, 2026, 12:51 PM

Input from Gemini 3 Pro:

✦ I have updated the description field for the /knowledge/ask endpoint in ai/mcp/server/knowledge-base/openapi.yaml. It now explicitly lists the type parameter as an optional input, matching the tool's schema and implementation.

tobiu closed this issue on Jan 8, 2026, 12:52 PM