CurbJS
- verified
- true
export default function ReportClaim() {
const [verified, setVerified] = useState(false);
if (!verified) return <>
<Instruction>Ask for the policy number.</Instruction>
<Tool name="verify_policy" …
onSubmit={() => { setVerified(true); … }} />
</>;
return <>
<Instruction>Ask what happened.</Instruction>
<Tool name="open_claim" … />
</>;
}Model context
Instruction
Ask for the policy number.
Ask what happened.
Tools
verify_policy
open_claim
