query_antv_document
Retrieve AntV library documentation, code examples, and best practices for G2, G6, L7, X6, F2, and S2. Use for implementation, optimization, debugging, learning, and handling complex tasks in AntV projects.
Instructions
AntV Context Retrieval Assistant - Fetches relevant documentation, code examples, and best practices from official AntV resources. Supports g2, g6, l7, x6, f2, s2 libraries, and handles subtasks iterative queries.
MANDATORY: Must be called for ANY AntV-related query (g2, g6, l7, x6, f2, s2), regardless of task complexity. No exceptions for simple tasks.
When to use this tool:
- Implementation & Optimization: To implement new features, modify styles, refactor code, or optimize performance in AntV solutions.
- Debugging & Problem Solving: For troubleshooting errors, unexpected behaviors, or technical challenges in AntV projects.
- Learning & Best Practices: To explore official documentation, code examples, design patterns, or advanced features.
- Complex Task Handling: For multi-step tasks requiring subtask decomposition (e.g., "Build a dashboard with interactive charts").
- Simple modifications: Even basic changes like "Change the chart's color" or "Update legend position" in AntV context.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
intent | Yes | Extracted user intent, provided by extract_antv_topic tool or directly extracted from simple questions. | |
library | Yes | Specified AntV library type, intelligently identified based on user query | |
query | Yes | User specific question or requirement description | |
subTasks | No | Decomposed subtask list for complex tasks, supports batch processing | |
tokens | No | tokens for returned content | |
topic | Yes | Technical topic keywords (comma-separated). Provided by `extract_antv_topic` or directly extracted from simple questions. |