Get Data
getDataFull Description
Gets data by generating and executing a query from natural language. Use this when the user has a question that is asking for data. For example, "how many users do I have?", "what was sales like last month?". When using this tool, if a user provides SQL, study the SQL, be succinct, and convert the SQL to a plain english question that describes what data the SQL is querying, and then call this tool with the prompt as that plain english description. IMPORTANT: You MUST have a topicId before calling getData. If no topic is currently selected, you MUST call pickTopic first to obtain a topicId. The topicId is a unique identifier for the topic and should not be modified. If modelId was not configured via headers, you must pass it as a parameter (call pickModel first to see available models). The tool returns both the generated query and the result set as a JSON object. This tool returns: 1. JSON Query results, 2. The Omni Query JSON blob that produced those results, (optional) 3. A workbook URL to view the full analysis within the Omni application -- If a workbook URL is present, always show it to the user.
Parameters (2 required, 1 optional)
promptstringtopicIdstringmodelIdstringThe model ID to use. Required if not configured via X-MCP-Model-ID header. Call pickModel to see available models.