Fix README: tools are AgentTool, not extending Tool

This commit is contained in:
Mario Zechner 2025-12-30 23:46:41 +01:00
parent b939f2b529
commit 93f8d6e659

View file

@ -270,7 +270,7 @@ const agent = new Agent({
## Tools
Tools extend `Tool` from pi-ai with an `execute` function:
Define tools using `AgentTool`:
```typescript
import { Type } from "@sinclair/typebox";