Fix Genie Conversation API: document two-tool architecture (ask_genie + ask_genie_followup)#231
Open
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Conversation
…tecture Replace conversation.md with 2-conversation-api.md that correctly documents ask_genie and ask_genie_followup as separate MCP tools. The old file incorrectly showed a single tool with optional conversation_id. Also fixes: status values are COMPLETED/ERROR/TIMEOUT (not FAILED/CANCELLED), data values are always strings, and text_response appears on both SQL and text-only responses.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces
conversation.mdwith2-conversation-api.mdthat correctly documents the Genie Conversation API.Critical fix
The old file documented a single
ask_genietool with an optionalconversation_idparameter. In reality, there are two separate MCP tools:ask_genie— for initial questions (params:space_id,question,timeout_seconds)ask_genie_followup— for follow-up questions (params:space_id,conversation_id,question,timeout_seconds)Other corrections
COMPLETED,FAILED,CANCELLED,TIMEOUTCOMPLETED,ERROR,TIMEOUT"3.336E8")text_responseonly for clarificationstext_responseappears on both SQL results and text-only responsesdescriptionalways presentdescriptiononly present on successful SQL queriesAlso updated
SKILL.md: Fixed Conversation API tool table to list both tools; updated reference linkinstall_skills.sh: Updated extra files fromconversation.mdto2-conversation-api.mdTest Evidence
15 API calls across 10 iterations against a live Genie Space:
ask_genieask_genie_followupask_genieask_genie_followupask_genieask_genieask_genieask_genieask_genie_followupask_genieask_genieask_genieask_genieask_genie