sap_analyze_query
Analyze a natural language query to get SAP query-building guidance: candidate tables, query type, date ranges, aggregation hints, and field recommendations.
Instructions
Analyze a natural language query and return intelligent guidance for building the SAP query. This tool examines your query and returns: - Candidate tables to query - Query type (simple, multi-table, aggregation) - Detected date ranges - Aggregation hints (TOP N, SUM, COUNT) - Field recommendations with semantic context USE THIS FIRST before building complex queries to get field guidance!
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query (e.g., 'top 10 customers by sales in 2024') | |
| fetch_metadata | No | If true, also fetch and classify field metadata for identified tables (default: true) |