/** * query_graphql Tool * * Direct GraphQL query execution for power users and large datasets. * No caching - designed for unpredictable, custom queries. * * Use cases: * - Custom queries with specific field selection * - Large dataset queries (20+ vaults) * - One-time analysis queries * - Advanced filtering and aggregation * * WHY NO CACHING? * This tool is intentionally non-cached because: * 1. Query content is unpredictable (user-controlled) * 2. Results are typically one-time use * 3. Large datasets would waste cache memory * 4. Fresh data is required (no staleness tolerance) */ import { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; import { QueryGraphQLInput } from '../utils/validators.js'; import { ServiceContainer } from '../core/container.js'; /** * Create the executeQueryGraphQL function with DI container * * This factory function demonstrates the lightweight pattern for non-cached tools: * 1. Dependency injection for testability * 2. No caching overhead (inappropriate for unpredictable queries) * 3. Simple, focused implementation * * @param container - Service container with dependencies * @returns Configured tool executor function */ export declare function createExecuteQueryGraphQL(container: ServiceContainer): (input: QueryGraphQLInput) => Promise; //# sourceMappingURL=query-graphql.d.ts.map