donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
17 lines • 743 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomToolSchema = void 0;
const v4_1 = require("zod/v4");
exports.CustomToolSchema = v4_1.z
.object({
name: v4_1.z.string().describe('The name of the user-defined tool'),
description: v4_1.z.string().describe('A description of what the tool does'),
inputSchema: v4_1.z
.record(v4_1.z.string(), v4_1.z.unknown())
.describe('The input schema definition for the tool as a JSON object'),
javascript: v4_1.z
.string()
.describe('The JavaScript code that implements the tool functionality'),
})
.describe('A definition of a user-defined tool to use for a DonobuFlow');
//# sourceMappingURL=CustomTool.js.map