Expand description
The execute tool: runs a SQL query against the database and returns typed
results. This is the primary tool exposed by the MCP server.
Structs§
- Execute
Input - The input parameters for the
executetool. - Execute
Output - The result of executing a SQL query.
- Execute
Tool - Marker type for the
executetool. ImplementsSqliteServerToolto wire up the tool’s schema, handler, and routing. Stateless — all context comes fromMcpServerSqlite. - Row
- A single row returned from a query, represented as a mapping of column names to their typed values.
Enums§
- Execute
Error - Errors specific to the
executetool’s query preparation and result reading logic. - Value
- A dynamically-typed SQLite value preserving the original column type.
Serialized as a tagged enum with
kindandvaluefields so that consumers can distinguish between types unambiguously.