"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.definitions = exports.disableToolsDefinition = exports.enableToolsDefinition = exports.listAvailableToolsDefinition = void 0;
exports.listAvailableToolsDefinition = {
    type: "function",
    function: {
        name: "listAvailableTools",
        description: "List all available tools in the system, showing which are currently enabled and disabled. Use this to discover what tools exist before enabling them. Optionally filter by glob patterns to search for specific tools.",
        parameters: {
            type: "object",
            positional: true,
            properties: {
                patterns: {
                    type: "array",
                    items: { type: "string" },
                    description: "Optional array of glob patterns to filter tool names. Examples: ['read*'] finds all tools starting with 'read', ['*File'] finds all tools ending with 'File', ['mcp_*'] finds all MCP tools. If omitted, all tools are listed.",
                },
            },
            required: [],
        },
    },
};
exports.enableToolsDefinition = {
    type: "function",
    function: {
        name: "enableTools",
        description: "Enable tools matching glob patterns. Examples: ['read*'] enables all tools starting with 'read', ['mcp_*_browser_*'] enables all browser MCP tools, ['*File'] enables all tools ending with 'File'. Pass an array of pattern strings.",
        parameters: {
            type: "object",
            positional: true,
            properties: {
                patterns: {
                    type: "array",
                    items: { type: "string" },
                    description: "Array of glob patterns to match tool names.",
                },
            },
            required: ["patterns"],
        },
    },
};
exports.disableToolsDefinition = {
    type: "function",
    function: {
        name: "disableTools",
        description: "Disable tools matching glob patterns. This removes tools from the available tool list to stay within provider limits. Pass an array of pattern strings.",
        parameters: {
            type: "object",
            positional: true,
            properties: {
                patterns: {
                    type: "array",
                    items: { type: "string" },
                    description: "Array of glob patterns to match tool names for disabling.",
                },
            },
            required: ["patterns"],
        },
    },
};
exports.definitions = [
    exports.listAvailableToolsDefinition,
    exports.enableToolsDefinition,
    exports.disableToolsDefinition,
];
//# sourceMappingURL=definitions.js.map