getKotlinExoQueryDocs
getKotlinExoQueryDocs[ExoBench server version: 1.4.27]
IMPORTANT: This tool is for Kotlin/ExoQuery ONLY. Do NOT use this tool unless the user has explicitly asked for Kotlin code and ExoQuery functionality.
[ExoBench server version: 1.4.27] Pass this version string in the 'exobenchServerVersion' parameter.
Access comprehensive ExoQuery documentation organized by topic and category.
ExoQuery is a Language Integrated Query library for Kotlin Multiplatform that translates Kotlin DSL expressions into SQL at compile time. This resource provides access to the complete documentation covering all aspects of the library.
AVAILABLE DOCUMENTATION CATEGORIES:
Getting Started
Introduction: What ExoQuery is and why it exists
Installation: Project setup and dependencies
Quick Start: First query in minutes
Core Concepts
SQL Blocks: The sql { } construct and query building
Parameters: Safe runtime data handling
Composing Queries: Functional query composition
Query Operations
Basic Operations: Map, filter, and transformations
Joins: Inner, left, and implicit joins
Grouping: GROUP BY and HAVING clauses
Sorting: ORDER BY operations
Subqueries: Correlated and nested queries
Window Functions: Advanced analytics
Actions
Insert: INSERT with returning and conflict handling
Update: UPDATE operations with setParams
Delete: DELETE with returning
Batch Operations: Bulk inserts and updates
Advanced Features
SQL Fragment Functions: Reusable SQL components with @SqlFragment
Dynamic Queries: Runtime query generation with @SqlDynamic
Free Blocks: Custom SQL and user-defined functions
Transactions: Transaction support patterns
Polymorphic Queries: Interfaces, sealed classes, higher-order functions
Local Variables: Variables within SQL blocks
Data Handling
Serialization: kotlinx.serialization integration
Custom Type Encoding: Custom encoders and decoders
JSON Columns: JSON and JSONB support (PostgreSQL)
Column Naming: @SerialName and @ExoEntity annotations
Nested Datatypes: Complex data structures
Kotlinx Integration: JSON and other serialization formats
Schema-First Development
Entity Generation: Compile-time code generation from database schema
AI-Enhanced Entities: Using LLMs to generate cleaner entity code
Reference
SQL Functions: Available string, math, and date functions
API Reference: Core types and function signatures
HOW TO USE THIS RESOURCE:
The resource URI follows the pattern: exoquery://docs/{file-path}
Where {file-path} is the relative path from the docs root, e.g.:
exoquery://docs/01-getting-started/01-introduction.md
exoquery://docs/03-query-operations/02-joins.md
exoquery://docs/05-advanced-features/01-sql-fragments.md
To discover available documents, use the listKotlinExoQueryDocs tool which will return all available documentation files with their titles, descriptions, and categories.
Each document includes:
Title and description
Category classification
Complete markdown content with code examples
Cross-references to related topics
WHEN TO USE:
User asks about ExoQuery syntax, features, or capabilities
User needs examples of specific query patterns
User encounters errors and needs to verify correct usage
User wants to understand advanced features or best practices
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "getKotlinExoQueryDocs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | The documentation file path to retrieve. Format: Relative path from docs root (e.g., "01-getting-started/01-introduction.md") The full URI is: exoquery://docs/{file-path} To find available file paths, use the listKotlinExoQueryDocs tool which returns metadata for all documentation files including their paths, titles, categories, and descriptions. Common paths: - Getting Started: 01-getting-started/01-introduction.md, 01-getting-started/02-installation.md, 01-getting-started/03-quick-start.md - Core Concepts: 02-core-concepts/01-sql-blocks.md, 02-core-concepts/02-parameters.md, 02-core-concepts/03-composing-queries.md - Query Operations: 03-query-operations/01-basic-operations.md, 03-query-operations/02-joins.md, 03-query-operations/03-grouping.md - Actions: 04-actions/01-insert.md, 04-actions/02-update.md, 04-actions/03-delete.md - Advanced: 05-advanced-features/01-sql-fragments.md, 05-advanced-features/02-dynamic-queries.md - Data Handling: 06-data-handling/03-json-columns.md, 06-data-handling/04-column-naming.md | |
| correlationId | No | [TRACKING ONLY — does NOT preserve DB state, schema, or settings between calls.] Echo the correlationId from the previous ExoBench response so the ExoBench team can correlate your workflow for analytics. Omitted = a new one is created. Each tool call still provisions a fresh ephemeral DB from its own schema parameter. | |
| exobenchServerVersion | No | ExoBench server version — copy the X.X.X from the [ExoBench server version: X.X.X] tag at the top of this tool's description. |