donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
19 lines • 761 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProposedToolCallSchema = void 0;
const v4_1 = require("zod/v4");
/**
* A proposed (i.e. yet to be executed) tool call.
*/
exports.ProposedToolCallSchema = v4_1.z.object({
name: v4_1.z.string().describe('The name of the tool to call.'),
parameters: v4_1.z
.record(v4_1.z.string(), v4_1.z.unknown())
.describe("The parameters to supply to the tool's call method. Must conform to the tool's expected parameters type."),
toolCallId: v4_1.z
.string()
.nullable()
.optional()
.describe('The ID used by the GPT model to track a proposed tool call to tool a call result.'),
});
//# sourceMappingURL=ProposedToolCall.js.map