clarify search_files is an agent tool instead of command line

Signed-off-by: Daily Dai <lei.dai@salesforce.com>
This commit is contained in:
Daily Dai 2026-04-01 20:09:57 -07:00 committed by vratan-sf
parent e701e00a7c
commit 3a8d8ae790
2 changed files with 26 additions and 4 deletions

View File

@ -31,10 +31,21 @@ When updating site URLs, follow this workflow:
### Step 1: Discover All URL References
Use `search_files` to find all occurrences of `urlPathPrefix` in the project:
Search for all occurrences of `urlPathPrefix` across the project metadata files.
**For agents**: Use the `search_files` tool with these parameters:
- path: `force-app/main/default`
- regex: `urlPathPrefix`
- file_pattern: `*.xml`
**For humans**: Use your IDE's search functionality or command line tools:
```bash
search_files --path force-app/main/default --regex "urlPathPrefix" --file-pattern "*.xml"
# Using grep
grep -r "urlPathPrefix" force-app/main/default --include="*.xml"
# Using VS Code: Ctrl+Shift+F (Windows/Linux) or Cmd+Shift+F (Mac)
# Search for: urlPathPrefix
# Files to include: *.xml
```
### Step 2: Identify URL Groups

View File

@ -31,10 +31,21 @@ When updating site URLs, follow this workflow:
### Step 1: Discover All URL References
Use `search_files` to find all occurrences of `urlPathPrefix` in the project:
Search for all occurrences of `urlPathPrefix` across the project metadata files.
**For agents**: Use the `search_files` tool with these parameters:
- path: `force-app/main/default`
- regex: `urlPathPrefix`
- file_pattern: `*.xml`
**For humans**: Use your IDE's search functionality or command line tools:
```bash
search_files --path force-app/main/default --regex "urlPathPrefix" --file-pattern "*.xml"
# Using grep
grep -r "urlPathPrefix" force-app/main/default --include="*.xml"
# Using VS Code: Ctrl+Shift+F (Windows/Linux) or Cmd+Shift+F (Mac)
# Search for: urlPathPrefix
# Files to include: *.xml
```
### Step 2: Identify URL Groups