Alpha
V2 API - UNSTABLE One-shot convenience function for single prompts.
const result = await unstable_v2_prompt("What files are here?", { model: 'claude-sonnet-4-6'}) Copy
const result = await unstable_v2_prompt("What files are here?", { model: 'claude-sonnet-4-6'})
V2 API - UNSTABLE One-shot convenience function for single prompts.