diff options
Diffstat (limited to 'packages/multillm-cli/README.md')
| -rw-r--r-- | packages/multillm-cli/README.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/multillm-cli/README.md b/packages/multillm-cli/README.md index 5f9ec94..3de6cc9 100644 --- a/packages/multillm-cli/README.md +++ b/packages/multillm-cli/README.md @@ -115,6 +115,37 @@ When using chat providers (OpenAI, Anthropic, Gemini, OpenRouter), you can enabl | `calculate` | Perform mathematical calculations | `--use-tools calculate` | | `get_current_time` | Get current date and time | `--use-tools get_current_time` | | `get_weather` | Get weather information (mock data) | `--use-tools get_weather` | +| `ask_user` | Ask the user a question interactively | `--use-tools ask_user` | + +### Interactive Tools + +The `ask_user` tool allows the model to ask you questions during execution and collect your responses. This enables truly interactive conversations where the model can clarify requirements, gather preferences, or get additional information. + +**Example:** +```bash +multillm -m openai/gpt-4o \ + -p "Help me choose a programming language for my project by asking about my requirements" \ + --use-tools ask_user +``` + +When the model calls `ask_user`, you'll see: +``` +====================================================================== +❓ QUESTION FROM ASSISTANT +====================================================================== + +What type of project are you building? + +Suggested options: + 1. Web application + 2. Desktop application + 3. Data science + 4. Command-line tool + +You can select a number or provide your own answer. + +Your answer: _ +``` ### Tool Output |
