LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ref-vercel-ai-sdk - Vercel AI SDK v6 Gemini Reference

Reference for Vercel AI SDK v6 with Google Gemini provider

Tags

Updated: 2026-03-22
Vercel AI SDKGoogle GeminiZodstreamingstructured outputNext.jsReact hooks

Capabilities

generate textstream textcall toolsvalidate schemas

Typical Inputs

Google AI API keyUIMessage arrayZod schema

Typical Outputs

generated textstreaming message responsestructured object

What this skill does

  • generate text
  • stream text
  • call tools
  • validate schemas
  • convert messages
  • stream objects

Inputs

  • Google AI API key
  • UIMessage array
  • Zod schema
  • user prompt
  • tool definitions

Outputs

  • generated text
  • streaming message response
  • structured object
  • partial object

Requirements

  • Next.js app router
  • Vercel runtime
  • Node.js environment

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.