PrepGenAICerts
← Back to Labs

Add Few-Shot Examples

prompt engineering outputFill in Blank

Complete these few-shot examples that teach Claude to select the correct tool for ambiguous customer requests. The examples should show reasoning for why one tool is chosen over another.

const systemPrompt = `You are a customer support agent with access to:
- get_customer: Retrieves customer profile, account info, billing details
- lookup_order: Retrieves order status, tracking, delivery details

## Tool Selection Examples

<example>
User: ""
Reasoning: 
Tool: lookup_order
</example>

<example>
User: "Can you update my email address?"
Reasoning: This is about account profile information, not order-related. The customer wants to modify their account details.
Tool: get_customer
</example>
`;
Next Exercise →

PrepGenAICerts.com is an independent third-party exam-prep platform for the Claude Certified Architect (CCA-F) certification. We are not affiliated with, endorsed by, or acting on behalf of Anthropic PBC.

Note: New premium upgrades are temporarily paused while we resolve an issue with our payment provider. Existing premium members retain full access.