server-functions - Build type-safe server functions in TanStack Start
Create type-safe RPC endpoints with validation, server context access, error handling, streaming, and FormData support.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create GET server functions
- Create POST server functions
- Validate function inputs
- Call functions from components
- Access request context
- Handle errors and redirects
- Process FormData inputs
- Organize server-only files
Inputs
- Function input data
- FormData submissions
- Request headers
- Server-side data sources
Outputs
- RPC responses
- HTTP response headers
- HTTP status codes
- Redirect responses
- Not-found responses
- Thrown errors
- Streamed responses
Requirements
- TanStack Start
- start-core
- Server function support
