"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toolFindContentOutputSchema = exports.toolFindContentArgsSchemaTransformed = exports.toolFindContentArgsSchema = exports.TOOL_FIND_CONTENT_DESCRIPTION = void 0;
const zod_1 = require("zod");
const outputMetadata_1 = require("../outputMetadata");
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
exports.TOOL_FIND_CONTENT_DESCRIPTION = `Tool: "findContent"
Purpose:
Finds charts or dashboards by name or description within a project, returning detailed information 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 descriptive queries yield better results.
- You can provide multiple search queries to look for different topics simultaneously (e.g., ["monthly revenue", "user acquisition trends"]).
- If results aren't relevant, retry with the full user query or more specific terms.
- Dashboards with validation errors will be deprioritized.
- Returns chart and dashboard URLs when available.
- Dashboards show a preview of the first 5 charts and the total chart count. Use "getDashboardCharts" to see all charts for a specific dashboard.
- It doesn't provide summaries for dashboards yet, so don't suggest this capability.`;
exports.toolFindContentArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)({
    description: exports.TOOL_FIND_CONTENT_DESCRIPTION,
})
    .extend({
    searchQueries: 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.'),
    })),
})
    .build();
exports.toolFindContentArgsSchemaTransformed = exports.toolFindContentArgsSchema;
exports.toolFindContentOutputSchema = zod_1.z.object({
    result: zod_1.z.string(),
    metadata: outputMetadata_1.baseOutputMetadataSchema,
});
//# sourceMappingURL=toolFindContentArgs.js.map