Skip to content

Commit e53f09b

Browse files
Update packages/direct-call/README.md
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent 12432d5 commit e53f09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/direct-call/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protocol.registerCallable('myManual', async () => {
7979
});
8080

8181
// Register a callable for tool execution
82-
protocol.registerCallable('myTool', async (args: any) => {
82+
protocol.registerCallable('myTool', async (...args: any[]) => {
8383
return { result: 'Success!' };
8484
});
8585
```

0 commit comments

Comments
 (0)