- Match vague or unexpected inputs to the correct function call
- Extract values in tricky formats (e.g., spelled names, long reference codes)
- Avoid asking unnecessary questions when the value is already present
- Maintain a consistent tone, phrasing, or logic pattern
Why it matters in flow steps
In a flow, the agent only sees:- The current step prompt
- The listed functions (names, descriptions, arguments)
Because step prompts are inserted last in the LLM input stack, FSP examples appear directly before the model generates its next turn — making them highly influential.
Basic structure

- A realistic user message
- A matching agent behavior — often a response + function call
- A standard, clean input
- A tricky edge case
- A fallback or clarification
Tips for strong few-shot examples
- Use realistic language — not idealized or overly formal examples.
- Show both success and edge cases.