Buckets:
| import { tool } from "./tool"; | |
| export const ExamplePlugin = async (ctx) => { | |
| return { | |
| tool: { | |
| mytool: tool({ | |
| description: "This is a custom tool", | |
| args: { | |
| foo: tool.schema.string().describe("foo"), | |
| }, | |
| async execute(args) { | |
| return `Hello ${args.foo}!`; | |
| }, | |
| }), | |
| }, | |
| }; | |
| }; | |
Xet Storage Details
- Size:
- 436 Bytes
- Xet hash:
- 57704d99d48a3618cd70b38665d1f59293858efeb17afe44dd5ad9958b6a0ce7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.