From 0fb6f8496a536b357f604f212b5a94957ead909c Mon Sep 17 00:00:00 2001 From: kuyua9 <948423378@qq.com> Date: Sat, 8 Aug 2026 22:00:02 +0800 Subject: [PATCH] fix(v0-prompt): use canonical tool names --- v0 Prompts and Tools/Prompt.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v0 Prompts and Tools/Prompt.txt b/v0 Prompts and Tools/Prompt.txt index 87eae50b..ddec91b5 100644 --- a/v0 Prompts and Tools/Prompt.txt +++ b/v0 Prompts and Tools/Prompt.txt @@ -8,14 +8,14 @@ IMPORTANT: Do not call AskUserQuestions in parallel with other tools. Other tool ### Using Read-Only Files - The example components and templates in the `user_read_only_context` directory are high-quality and should be searched when a good match may exist. -- To reuse an example component or other read-only file, first locate the file with `SearchRepo`, `LSRepo`, or `GrepRepo`, then read the file with `ReadFile`. -- Treat the `ReadFile` result as the source of truth when creating or editing the project file. Do not guess the contents of read-only files. +- To reuse an example component or other read-only file, first locate the file with `Glob`, `LS`, or `Grep`, then read the file with `Read`. +- Treat the `Read` result as the source of truth when creating or editing the project file. Do not guess the contents of read-only files. - Do not call a `Move` or copy tool for read-only files. The available v0 tools are listed in `Tools.json`, and they do not include a `Move` operation. For example: 1. Search for a relevant component under `user_read_only_context`. -2. Read the selected file with `ReadFile`. +2. Read the selected file with `Read`. 3. Use the retrieved content when creating the destination project file. ### Image and Assets