"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toolFindChartsOutputSchema = exports.toolFindChartsArgsSchemaTransformed = exports.toolFindChartsArgsSchema = exports.TOOL_FIND_CHARTS_DESCRIPTION = void 0;
const zod_1 = require("zod");
const outputMetadata_1 = require("../outputMetadata");
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
exports.TOOL_FIND_CHARTS_DESCRIPTION = `Tool: "findCharts"
Purpose:
Finds charts by name or description within a project, returning detailed info about each.

Usage tips:
- IMPORTANT: Pass the user's full query or relevant portion directly (e.g., "revenue based on campaigns" instead of just "campaigns")
- The search engine understands natural language and context - more words provide better results
- You can provide multiple search queries to search for different chart topics simultaneously
- If results aren't relevant, retry with the full user query or more specific terms
- Results are paginated — use the page parameter to get more results if needed
- Returns chart URLs when available
`;
exports.toolFindChartsArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)({
    description: exports.TOOL_FIND_CHARTS_DESCRIPTION,
})
    .extend({
    chartSearchQueries: zod_1.z.array(zod_1.z.object({
        label: zod_1.z
            .string()
            .describe('Full search query from the user (e.g., "revenue based on campaigns" not just "campaigns"). Include full context for better results.'),
    })),
})
    .withPagination()
    .build();
exports.toolFindChartsArgsSchemaTransformed = exports.toolFindChartsArgsSchema;
exports.toolFindChartsOutputSchema = zod_1.z.object({
    result: zod_1.z.string(),
    metadata: outputMetadata_1.baseOutputMetadataSchema,
});
//# sourceMappingURL=toolFindChartsArgs.js.map