mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-08 00:10:29 +08:00
Update SKILL.md
This commit is contained in:
parent
ca8b0f9744
commit
4c2cddc5bd
@ -33,11 +33,12 @@ Universal routing skill for searching and retrieving existing images and media.
|
|||||||
|
|
||||||
When a user requests to find an image:
|
When a user requests to find an image:
|
||||||
|
|
||||||
**Your first response MUST be plain text only — zero tool calls.** You MUST follow this sequence:
|
**Your first action MUST use the ask_followup_question tool to present search sources.**
|
||||||
|
|
||||||
|
1. **Use ask_followup_question** to present available search sources as options
|
||||||
|
2. **Receive the user's selection** from the tool response
|
||||||
|
3. **Then** call the appropriate search tool based on their choice
|
||||||
|
|
||||||
1. **First response MUST be text only:** A numbered list of search sources for the user. No tool calls of any kind.
|
|
||||||
2. **Wait for user to reply** with their selected option number
|
|
||||||
3. **Only then** call the appropriate search tool (this is the FIRST tool call in the entire interaction)
|
|
||||||
|
|
||||||
**Example of what NOT to do:**
|
**Example of what NOT to do:**
|
||||||
- ❌ Calling ANY tool before the user picks a source (MCP tools, file reads, descriptor checks, etc.)
|
- ❌ Calling ANY tool before the user picks a source (MCP tools, file reads, descriptor checks, etc.)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user