UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

17 lines 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseGptArgsSchema = exports.NoArgsSchema = void 0; const v4_1 = require("zod/v4"); /** * This schema is intended to be used when no arguments are required for a tool call. */ exports.NoArgsSchema = v4_1.z.object({}); /** * This schema is intended to be the base for all tool calls invoked by a GPT. */ exports.BaseGptArgsSchema = v4_1.z.object({ rationale: v4_1.z .string() .describe('The reason why this particular action is being taken. It MUST relate to the overall objective.'), }); //# sourceMappingURL=ToolSchema.js.map