πŸ“ Subsystem Deep Dive

tools/AskUserQuestionTool/

πŸ“ tools/AskUserQuestionTool/ πŸ“„ 6 files

Tutorial: AskUserQuestionTool

This project enables an AI agent to proactively ask the user multiple-choice questions to gather requirements or offer choices. It acts as a bridge between the AI and the interface by enforcing strict data schemas, handling rich content like HTML previews for options, and rendering the user's answers as a permanent record in the chat.

flowchart TD A0["Tool Definition"] A1["Data Schemas"] A2["Preview Feature Logic"] A3["Prompt Configuration"] A4["Result Rendering"] A0 -->|"Enforces structure via"| A1 A0 -->|"Retrieves instructions from"| A3 A0 -->|"Validates content with"| A2 A0 -->|"Renders output via"| A4

Chapters

  1. Data Schemas
  2. Tool Definition
  3. Prompt Configuration
  4. Preview Feature Logic
  5. Result Rendering

Generated by Code IQ

Files in this section