We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aff8f8 commit b45c26eCopy full SHA for b45c26e
packages/types/src/custom-tool.ts
@@ -1,26 +1,3 @@
1
-/**
2
- * Custom Tool Definition Utilities
3
- *
4
- * This module provides utilities for defining custom tools that can be
5
- * loaded by the Roo Code extension. Install @roo-code/types in your
6
- * project to use these utilities.
7
8
- * @example
9
- * ```ts
10
- * import { z, defineCustomTool } from "@roo-code/types"
11
12
- * export default defineCustomTool({
13
- * description: "Greets a user by name",
14
- * parameters: z.object({
15
- * name: z.string().describe("The name to greet"),
16
- * }),
17
- * async execute(args) {
18
- * return `Hello, ${args.name}!`
19
- * }
20
- * })
21
- * ```
22
- */
23
-
24
import type { ZodType, z } from "zod/v4"
25
26
import { TaskLike } from "./task.js"
0 commit comments