diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md index 67395478..4783a4a1 100644 --- a/docs/getting-started/overview.md +++ b/docs/getting-started/overview.md @@ -27,7 +27,7 @@ The framework-agnostic core of TanStack AI provides the building blocks for crea TanStack AI lets you define a tool once and provide environment-specific implementations. Using `toolDefinition()` to declare the tool’s input/output types and the server behavior with `.server()` (or a client implementation with `.client()`). These isomorphic tools can be invoked from the AI runtime regardless of framework. ```typescript -import { toolDefinition } from '@tanstack/ai' +import { toolDefinition, chat } from '@tanstack/ai' // Define a tool const getProductsDef = toolDefinition({ @@ -94,4 +94,4 @@ With the help of adapters, TanStack AI can connect to various LLM providers. Ava - [Quick Start Guide](./quick-start) - Get up and running in minutes - [Tools Guide](../guides/tools) - Learn about the isomorphic tool system -- [API Reference](../api/ai) - Explore the full API \ No newline at end of file +- [API Reference](../api/ai) - Explore the full API