"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toolClosePullRequestOutputSchema = exports.toolClosePullRequestArgsSchema = exports.TOOL_CLOSE_PULL_REQUEST_DESCRIPTION = void 0;
const zod_1 = require("zod");
const outputMetadata_1 = require("../outputMetadata");
exports.TOOL_CLOSE_PULL_REQUEST_DESCRIPTION = [
    'Close (without merging) a pull request this conversation opened with editRepo or editDbtProject.',
    'Use this when the user asks to discard, abandon, or close one of the open pull requests — for example after folding its change into another pull request, or when a change is no longer wanted.',
    'Pass the pull request URL (from listWorkstreams or a previous editRepo / editDbtProject result). Closing is reversible — the pull request can be reopened on the provider. Only works on a pull request that belongs to this project, and the user must have source-code write permission. GitHub only for now.',
].join(' ');
exports.toolClosePullRequestArgsSchema = zod_1.z.object({
    prUrl: zod_1.z
        .string()
        .describe('The full URL of the pull request to close, e.g. "https://github.com/acme/web-app/pull/42". Must be a pull request opened on this project\'s repository.'),
});
exports.toolClosePullRequestOutputSchema = zod_1.z.object({
    result: zod_1.z.string(),
    metadata: outputMetadata_1.baseOutputMetadataSchema,
});
//# sourceMappingURL=toolClosePullRequestArgs.js.map