Documentation
¶
Index ¶
- func DbAlterTable(mgr *db.Manager) ...
- func DbAlterTableSchema() *structpb.Struct
- func DbConnect(mgr *db.Manager) ...
- func DbConnectSchema() *structpb.Struct
- func DbCreateDatabase(mgr *db.Manager) ...
- func DbCreateDatabaseSchema() *structpb.Struct
- func DbCreateIndex(mgr *db.Manager) ...
- func DbCreateIndexSchema() *structpb.Struct
- func DbCreateTable(mgr *db.Manager) ...
- func DbCreateTableSchema() *structpb.Struct
- func DbCreateView(mgr *db.Manager) ...
- func DbCreateViewSchema() *structpb.Struct
- func DbDescribeTable(mgr *db.Manager) ...
- func DbDescribeTableSchema() *structpb.Struct
- func DbDisconnect(mgr *db.Manager) ...
- func DbDisconnectSchema() *structpb.Struct
- func DbDropDatabase(mgr *db.Manager) ...
- func DbDropDatabaseSchema() *structpb.Struct
- func DbDropIndex(mgr *db.Manager) ...
- func DbDropIndexSchema() *structpb.Struct
- func DbDropTable(mgr *db.Manager) ...
- func DbDropTableSchema() *structpb.Struct
- func DbDropView(mgr *db.Manager) ...
- func DbDropViewSchema() *structpb.Struct
- func DbExport(mgr *db.Manager) ...
- func DbExportSchema() *structpb.Struct
- func DbImport(mgr *db.Manager) ...
- func DbImportSchema() *structpb.Struct
- func DbListConnections(mgr *db.Manager) ...
- func DbListConnectionsSchema() *structpb.Struct
- func DbListConstraints(mgr *db.Manager) ...
- func DbListConstraintsSchema() *structpb.Struct
- func DbListIndexes(mgr *db.Manager) ...
- func DbListIndexesSchema() *structpb.Struct
- func DbListTables(mgr *db.Manager) ...
- func DbListTablesSchema() *structpb.Struct
- func DbListViews(mgr *db.Manager) ...
- func DbListViewsSchema() *structpb.Struct
- func DbQuery(mgr *db.Manager) ...
- func DbQuerySchema() *structpb.Struct
- func DbStats(mgr *db.Manager) ...
- func DbStatsSchema() *structpb.Struct
- func DbTableSize(mgr *db.Manager) ...
- func DbTableSizeSchema() *structpb.Struct
- func MongoAggregate(mgr *db.Manager) ...
- func MongoAggregateSchema() *structpb.Struct
- func MongoBulk(mgr *db.Manager) ...
- func MongoBulkSchema() *structpb.Struct
- func MongoCollections(mgr *db.Manager) ...
- func MongoCollectionsSchema() *structpb.Struct
- func MongoDocuments(mgr *db.Manager) ...
- func MongoDocumentsSchema() *structpb.Struct
- func MongoExport(mgr *db.Manager) ...
- func MongoExportSchema() *structpb.Struct
- func MongoImport(mgr *db.Manager) ...
- func MongoImportSchema() *structpb.Struct
- func MongoIndexes(mgr *db.Manager) ...
- func MongoIndexesSchema() *structpb.Struct
- func MongoSchema(mgr *db.Manager) ...
- func MongoSchemaSchema() *structpb.Struct
- func MongoServer(mgr *db.Manager) ...
- func MongoServerSchema() *structpb.Struct
- func PgAddTsvectorColumn(mgr *db.Manager) ...
- func PgAddTsvectorColumnSchema() *structpb.Struct
- func PgAddVectorColumn(mgr *db.Manager) ...
- func PgAddVectorColumnSchema() *structpb.Struct
- func PgAnalyze(mgr *db.Manager) ...
- func PgAnalyzeSchema() *structpb.Struct
- func PgBulkUpsertEmbeddings(mgr *db.Manager) ...
- func PgBulkUpsertEmbeddingsSchema() *structpb.Struct
- func PgCluster(mgr *db.Manager) ...
- func PgClusterSchema() *structpb.Struct
- func PgCreateGINIndex(mgr *db.Manager) ...
- func PgCreateGINIndexSchema() *structpb.Struct
- func PgCreateMaterializedView(mgr *db.Manager) ...
- func PgCreateMaterializedViewSchema() *structpb.Struct
- func PgCreatePartition(mgr *db.Manager) ...
- func PgCreatePartitionSchema() *structpb.Struct
- func PgCreatePartitionedTable(mgr *db.Manager) ...
- func PgCreatePartitionedTableSchema() *structpb.Struct
- func PgCreatePolicy(mgr *db.Manager) ...
- func PgCreatePolicySchema() *structpb.Struct
- func PgCreateRole(mgr *db.Manager) ...
- func PgCreateRoleSchema() *structpb.Struct
- func PgCreateSchema(mgr *db.Manager) ...
- func PgCreateSchemaSchema() *structpb.Struct
- func PgCreateTrigger(mgr *db.Manager) ...
- func PgCreateTriggerFunction(mgr *db.Manager) ...
- func PgCreateTriggerFunctionSchema() *structpb.Struct
- func PgCreateTriggerSchema() *structpb.Struct
- func PgCreateVectorIndex(mgr *db.Manager) ...
- func PgCreateVectorIndexSchema() *structpb.Struct
- func PgDeleteEmbeddings(mgr *db.Manager) ...
- func PgDeleteEmbeddingsSchema() *structpb.Struct
- func PgDetachPartition(mgr *db.Manager) ...
- func PgDetachPartitionSchema() *structpb.Struct
- func PgDisableRLS(mgr *db.Manager) ...
- func PgDisableRLSSchema() *structpb.Struct
- func PgDropSchema(mgr *db.Manager) ...
- func PgDropSchemaSchema() *structpb.Struct
- func PgDropTrigger(mgr *db.Manager) ...
- func PgDropTriggerSchema() *structpb.Struct
- func PgEnableExtension(mgr *db.Manager) ...
- func PgEnableExtensionSchema() *structpb.Struct
- func PgEnableRLS(mgr *db.Manager) ...
- func PgEnableRLSSchema() *structpb.Struct
- func PgEnableVectors(mgr *db.Manager) ...
- func PgEnableVectorsSchema() *structpb.Struct
- func PgFTSSearch(mgr *db.Manager) ...
- func PgFTSSearchSchema() *structpb.Struct
- func PgGetSearchPath(mgr *db.Manager) ...
- func PgGetSearchPathSchema() *structpb.Struct
- func PgGrant(mgr *db.Manager) ...
- func PgGrantSchema() *structpb.Struct
- func PgIndexBloat(mgr *db.Manager) ...
- func PgIndexBloatSchema() *structpb.Struct
- func PgListChannels(mgr *db.Manager) ...
- func PgListChannelsSchema() *structpb.Struct
- func PgListExtensions(mgr *db.Manager) ...
- func PgListExtensionsSchema() *structpb.Struct
- func PgListPartitions(mgr *db.Manager) ...
- func PgListPartitionsSchema() *structpb.Struct
- func PgListPolicies(mgr *db.Manager) ...
- func PgListPoliciesSchema() *structpb.Struct
- func PgListPublications(mgr *db.Manager) ...
- func PgListPublicationsSchema() *structpb.Struct
- func PgListReplicationSlots(mgr *db.Manager) ...
- func PgListReplicationSlotsSchema() *structpb.Struct
- func PgListRoles(mgr *db.Manager) ...
- func PgListRolesSchema() *structpb.Struct
- func PgListSchemas(mgr *db.Manager) ...
- func PgListSchemasSchema() *structpb.Struct
- func PgListTriggers(mgr *db.Manager) ...
- func PgListTriggersSchema() *structpb.Struct
- func PgListen(mgr *db.Manager) ...
- func PgListenSchema() *structpb.Struct
- func PgNotify(mgr *db.Manager) ...
- func PgNotifySchema() *structpb.Struct
- func PgRefreshMaterializedView(mgr *db.Manager) ...
- func PgRefreshMaterializedViewSchema() *structpb.Struct
- func PgReindex(mgr *db.Manager) ...
- func PgReindexSchema() *structpb.Struct
- func PgReplicationStatus(mgr *db.Manager) ...
- func PgReplicationStatusSchema() *structpb.Struct
- func PgRevoke(mgr *db.Manager) ...
- func PgRevokeSchema() *structpb.Struct
- func PgSetSearchPath(mgr *db.Manager) ...
- func PgSetSearchPathSchema() *structpb.Struct
- func PgTableBloat(mgr *db.Manager) ...
- func PgTableBloatSchema() *structpb.Struct
- func PgUpsertEmbedding(mgr *db.Manager) ...
- func PgUpsertEmbeddingSchema() *structpb.Struct
- func PgVacuum(mgr *db.Manager) ...
- func PgVacuumSchema() *structpb.Struct
- func PgVectorSearch(mgr *db.Manager) ...
- func PgVectorSearchSchema() *structpb.Struct
- func PgVectorStats(mgr *db.Manager) ...
- func PgVectorStatsSchema() *structpb.Struct
- func RedisBitmap(mgr *db.Manager) ...
- func RedisBitmapSchema() *structpb.Struct
- func RedisFlushDB(mgr *db.Manager) ...
- func RedisFlushDBSchema() *structpb.Struct
- func RedisGeo(mgr *db.Manager) ...
- func RedisGeoSchema() *structpb.Struct
- func RedisHashes(mgr *db.Manager) ...
- func RedisHashesSchema() *structpb.Struct
- func RedisHyperLogLog(mgr *db.Manager) ...
- func RedisHyperLogLogSchema() *structpb.Struct
- func RedisKeys(mgr *db.Manager) ...
- func RedisKeysSchema() *structpb.Struct
- func RedisLists(mgr *db.Manager) ...
- func RedisListsSchema() *structpb.Struct
- func RedisPipeline(mgr *db.Manager) ...
- func RedisPipelineSchema() *structpb.Struct
- func RedisPubSub(mgr *db.Manager) ...
- func RedisPubSubSchema() *structpb.Struct
- func RedisScanKeys(mgr *db.Manager) ...
- func RedisScanKeysSchema() *structpb.Struct
- func RedisServer(mgr *db.Manager) ...
- func RedisServerSchema() *structpb.Struct
- func RedisSets(mgr *db.Manager) ...
- func RedisSetsSchema() *structpb.Struct
- func RedisSortedSets(mgr *db.Manager) ...
- func RedisSortedSetsSchema() *structpb.Struct
- func RedisStreams(mgr *db.Manager) ...
- func RedisStreamsSchema() *structpb.Struct
- func RedisStrings(mgr *db.Manager) ...
- func RedisStringsSchema() *structpb.Struct
- func RedisTTLInspect(mgr *db.Manager) ...
- func RedisTTLInspectSchema() *structpb.Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DbAlterTable ¶ added in v1.0.5
func DbAlterTable(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbAlterTable returns a tool handler that alters a table (add/drop/rename column).
func DbAlterTableSchema ¶ added in v1.0.5
DbAlterTableSchema returns the JSON Schema for the db_alter_table tool.
func DbConnect ¶
func DbConnect(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbConnect returns a tool handler that connects to a database.
func DbConnectSchema ¶
DbConnectSchema returns the JSON Schema for the db_connect tool.
func DbCreateDatabase ¶ added in v1.0.5
func DbCreateDatabase(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbCreateDatabase returns a tool handler that creates a new SQLite database file and auto-connects to it.
func DbCreateDatabaseSchema ¶ added in v1.0.5
DbCreateDatabaseSchema returns the JSON Schema for the db_create_database tool.
func DbCreateIndex ¶ added in v1.0.5
func DbCreateIndex(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbCreateIndex returns a tool handler that creates an index on a table.
func DbCreateIndexSchema ¶ added in v1.0.5
DbCreateIndexSchema returns the JSON Schema for the db_create_index tool.
func DbCreateTable ¶ added in v1.0.5
func DbCreateTable(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbCreateTable returns a tool handler that creates a new table.
func DbCreateTableSchema ¶ added in v1.0.5
DbCreateTableSchema returns the JSON Schema for the db_create_table tool.
func DbCreateView ¶ added in v1.0.5
func DbCreateView(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbCreateView returns a tool handler that creates a database view.
func DbCreateViewSchema ¶ added in v1.0.5
DbCreateViewSchema returns the JSON Schema for the db_create_view tool.
func DbDescribeTable ¶
func DbDescribeTable(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbDescribeTable returns a tool handler that shows table columns and types.
func DbDescribeTableSchema ¶
DbDescribeTableSchema returns the JSON Schema for the db_describe_table tool.
func DbDisconnect ¶
func DbDisconnect(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbDisconnect returns a tool handler that disconnects from a database.
func DbDisconnectSchema ¶
DbDisconnectSchema returns the JSON Schema for the db_disconnect tool.
func DbDropDatabase ¶ added in v1.0.5
func DbDropDatabase(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbDropDatabase returns a tool handler that deletes a SQLite database file. Requires the user to confirm by providing the exact file name. IMPORTANT: The calling agent MUST use AskUserQuestion to get user confirmation before calling this tool.
func DbDropDatabaseSchema ¶ added in v1.0.5
DbDropDatabaseSchema returns the JSON Schema for the db_drop_database tool.
func DbDropIndex ¶ added in v1.0.5
func DbDropIndex(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbDropIndex returns a tool handler that drops an index from a table.
func DbDropIndexSchema ¶ added in v1.0.5
DbDropIndexSchema returns the JSON Schema for the db_drop_index tool.
func DbDropTable ¶ added in v1.0.5
func DbDropTable(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbDropTable returns a tool handler that drops (deletes) a table.
func DbDropTableSchema ¶ added in v1.0.5
DbDropTableSchema returns the JSON Schema for the db_drop_table tool.
func DbDropView ¶ added in v1.0.5
func DbDropView(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbDropView returns a tool handler that drops a database view.
func DbDropViewSchema ¶ added in v1.0.5
DbDropViewSchema returns the JSON Schema for the db_drop_view tool.
func DbExport ¶
func DbExport(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbExport returns a tool handler that exports a table as CSV or JSON.
func DbExportSchema ¶
DbExportSchema returns the JSON Schema for the db_export tool.
func DbImport ¶
func DbImport(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbImport returns a tool handler that imports data from a CSV or JSON file.
func DbImportSchema ¶
DbImportSchema returns the JSON Schema for the db_import tool.
func DbListConnections ¶
func DbListConnections(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbListConnections returns a tool handler that lists all active database connections.
func DbListConnectionsSchema ¶
DbListConnectionsSchema returns the JSON Schema for the db_list_connections tool.
func DbListConstraints ¶ added in v1.0.5
func DbListConstraints(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbListConstraints returns a tool handler that lists constraints on a table.
func DbListConstraintsSchema ¶ added in v1.0.5
DbListConstraintsSchema returns the JSON Schema for the db_list_constraints tool.
func DbListIndexes ¶ added in v1.0.5
func DbListIndexes(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbListIndexes returns a tool handler that lists indexes on a table.
func DbListIndexesSchema ¶ added in v1.0.5
DbListIndexesSchema returns the JSON Schema for the db_list_indexes tool.
func DbListTables ¶
func DbListTables(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbListTables returns a tool handler that lists tables in a database.
func DbListTablesSchema ¶
DbListTablesSchema returns the JSON Schema for the db_list_tables tool.
func DbListViews ¶ added in v1.0.5
func DbListViews(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbListViews returns a tool handler that lists views in a database.
func DbListViewsSchema ¶ added in v1.0.5
DbListViewsSchema returns the JSON Schema for the db_list_views tool.
func DbQuery ¶
func DbQuery(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbQuery returns a tool handler that executes a SELECT query and returns results as JSON.
func DbQuerySchema ¶
DbQuerySchema returns the JSON Schema for the db_query tool.
func DbStats ¶ added in v1.0.5
func DbStats(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbStats returns a tool handler that shows database-level statistics.
func DbStatsSchema ¶ added in v1.0.5
DbStatsSchema returns the JSON Schema for the db_stats tool.
func DbTableSize ¶ added in v1.0.5
func DbTableSize(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
DbTableSize returns a tool handler that shows size and row count for a table.
func DbTableSizeSchema ¶ added in v1.0.5
DbTableSizeSchema returns the JSON Schema for the db_table_size tool.
func MongoAggregate ¶ added in v1.0.5
func MongoAggregate(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoAggregate returns a tool handler for MongoDB aggregation pipeline operations.
func MongoAggregateSchema ¶ added in v1.0.5
MongoAggregateSchema returns the JSON Schema for the mongo_aggregate tool.
func MongoBulk ¶ added in v1.0.5
func MongoBulk(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoBulk returns a tool handler for MongoDB bulk write operations.
func MongoBulkSchema ¶ added in v1.0.5
MongoBulkSchema returns the JSON Schema for the mongo_bulk tool.
func MongoCollections ¶ added in v1.0.5
func MongoCollections(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoCollections returns a tool handler for MongoDB collection management operations.
func MongoCollectionsSchema ¶ added in v1.0.5
MongoCollectionsSchema returns the JSON Schema for the mongo_collections tool.
func MongoDocuments ¶ added in v1.0.5
func MongoDocuments(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoDocuments returns a tool handler for MongoDB document CRUD operations.
func MongoDocumentsSchema ¶ added in v1.0.5
MongoDocumentsSchema returns the JSON Schema for the mongo_documents tool.
func MongoExport ¶ added in v1.0.5
func MongoExport(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoExport returns a tool handler that exports a MongoDB collection to a JSON file.
func MongoExportSchema ¶ added in v1.0.5
MongoExportSchema returns the JSON Schema for the mongo_export tool.
func MongoImport ¶ added in v1.0.5
func MongoImport(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoImport returns a tool handler that imports documents from a JSON file into a MongoDB collection.
func MongoImportSchema ¶ added in v1.0.5
MongoImportSchema returns the JSON Schema for the mongo_import tool.
func MongoIndexes ¶ added in v1.0.5
func MongoIndexes(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoIndexes returns a tool handler for MongoDB index management operations.
func MongoIndexesSchema ¶ added in v1.0.5
MongoIndexesSchema returns the JSON Schema for the mongo_indexes tool.
func MongoSchema ¶ added in v1.0.5
func MongoSchema(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoSchema returns a tool handler for MongoDB schema analysis operations.
func MongoSchemaSchema ¶ added in v1.0.5
MongoSchemaSchema returns the JSON Schema for the mongo_schema tool.
func MongoServer ¶ added in v1.0.5
func MongoServer(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
MongoServer returns a tool handler for MongoDB server administration operations.
func MongoServerSchema ¶ added in v1.0.5
MongoServerSchema returns the JSON Schema for the mongo_server tool.
func PgAddTsvectorColumn ¶ added in v1.0.5
func PgAddTsvectorColumn(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgAddTsvectorColumnSchema ¶ added in v1.0.5
func PgAddVectorColumn ¶ added in v1.0.5
func PgAddVectorColumn(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgAddVectorColumnSchema ¶ added in v1.0.5
func PgAnalyze ¶ added in v1.0.5
func PgAnalyze(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgAnalyze returns a tool handler that runs ANALYZE on a PostgreSQL database or table.
func PgAnalyzeSchema ¶ added in v1.0.5
PgAnalyzeSchema returns the JSON Schema for the pg_analyze tool.
func PgBulkUpsertEmbeddings ¶ added in v1.0.5
func PgBulkUpsertEmbeddings(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgBulkUpsertEmbeddingsSchema ¶ added in v1.0.5
func PgCluster ¶ added in v1.0.5
func PgCluster(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgCluster returns a tool handler that runs CLUSTER on a PostgreSQL table.
func PgClusterSchema ¶ added in v1.0.5
PgClusterSchema returns the JSON Schema for the pg_cluster tool.
func PgCreateGINIndex ¶ added in v1.0.5
func PgCreateGINIndex(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgCreateGINIndexSchema ¶ added in v1.0.5
func PgCreateMaterializedView ¶ added in v1.0.5
func PgCreateMaterializedView(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgCreateMaterializedViewSchema ¶ added in v1.0.5
func PgCreatePartition ¶ added in v1.0.5
func PgCreatePartition(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgCreatePartition returns a tool handler that creates a partition of a parent table.
func PgCreatePartitionSchema ¶ added in v1.0.5
PgCreatePartitionSchema returns the JSON Schema for the pg_create_partition tool.
func PgCreatePartitionedTable ¶ added in v1.0.5
func PgCreatePartitionedTable(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgCreatePartitionedTable returns a tool handler that creates a partitioned table in PostgreSQL.
func PgCreatePartitionedTableSchema ¶ added in v1.0.5
PgCreatePartitionedTableSchema returns the JSON Schema for the pg_create_partitioned_table tool.
func PgCreatePolicy ¶ added in v1.0.5
func PgCreatePolicy(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgCreatePolicy returns a tool handler that creates a Row-Level Security policy.
func PgCreatePolicySchema ¶ added in v1.0.5
PgCreatePolicySchema returns the JSON Schema for the pg_create_policy tool.
func PgCreateRole ¶ added in v1.0.5
func PgCreateRole(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgCreateRoleSchema ¶ added in v1.0.5
func PgCreateSchema ¶ added in v1.0.5
func PgCreateSchema(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgCreateSchema returns a tool handler that creates a PostgreSQL schema.
func PgCreateSchemaSchema ¶ added in v1.0.5
PgCreateSchemaSchema returns the JSON Schema for the pg_create_schema tool.
func PgCreateTrigger ¶ added in v1.0.5
func PgCreateTrigger(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgCreateTriggerFunction ¶ added in v1.0.5
func PgCreateTriggerFunction(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgCreateTriggerFunctionSchema ¶ added in v1.0.5
func PgCreateTriggerSchema ¶ added in v1.0.5
func PgCreateVectorIndex ¶ added in v1.0.5
func PgCreateVectorIndex(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgCreateVectorIndexSchema ¶ added in v1.0.5
func PgDeleteEmbeddings ¶ added in v1.0.5
func PgDeleteEmbeddings(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgDeleteEmbeddingsSchema ¶ added in v1.0.5
func PgDetachPartition ¶ added in v1.0.5
func PgDetachPartition(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgDetachPartition returns a tool handler that detaches a partition from its parent table.
func PgDetachPartitionSchema ¶ added in v1.0.5
PgDetachPartitionSchema returns the JSON Schema for the pg_detach_partition tool.
func PgDisableRLS ¶ added in v1.0.5
func PgDisableRLS(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgDisableRLS returns a tool handler that disables Row-Level Security on a table.
func PgDisableRLSSchema ¶ added in v1.0.5
PgDisableRLSSchema returns the JSON Schema for the pg_disable_rls tool.
func PgDropSchema ¶ added in v1.0.5
func PgDropSchema(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgDropSchema returns a tool handler that drops a PostgreSQL schema.
func PgDropSchemaSchema ¶ added in v1.0.5
PgDropSchemaSchema returns the JSON Schema for the pg_drop_schema tool.
func PgDropTrigger ¶ added in v1.0.5
func PgDropTrigger(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgDropTriggerSchema ¶ added in v1.0.5
func PgEnableExtension ¶ added in v1.0.5
func PgEnableExtension(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgEnableExtension returns a tool handler that enables a PostgreSQL extension.
func PgEnableExtensionSchema ¶ added in v1.0.5
PgEnableExtensionSchema returns the JSON Schema for the pg_enable_extension tool.
func PgEnableRLS ¶ added in v1.0.5
func PgEnableRLS(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgEnableRLS returns a tool handler that enables Row-Level Security on a table.
func PgEnableRLSSchema ¶ added in v1.0.5
PgEnableRLSSchema returns the JSON Schema for the pg_enable_rls tool.
func PgEnableVectors ¶ added in v1.0.5
func PgEnableVectors(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgEnableVectorsSchema ¶ added in v1.0.5
func PgFTSSearch ¶ added in v1.0.5
func PgFTSSearch(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgFTSSearchSchema ¶ added in v1.0.5
func PgGetSearchPath ¶ added in v1.0.5
func PgGetSearchPath(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgGetSearchPath returns a tool handler that retrieves the current PostgreSQL search path.
func PgGetSearchPathSchema ¶ added in v1.0.5
PgGetSearchPathSchema returns the JSON Schema for the pg_get_search_path tool.
func PgGrant ¶ added in v1.0.5
func PgGrant(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgGrantSchema ¶ added in v1.0.5
func PgIndexBloat ¶ added in v1.0.5
func PgIndexBloat(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgIndexBloat returns a tool handler that shows index bloat statistics.
func PgIndexBloatSchema ¶ added in v1.0.5
PgIndexBloatSchema returns the JSON Schema for the pg_index_bloat tool.
func PgListChannels ¶ added in v1.0.5
func PgListChannels(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgListChannelsSchema ¶ added in v1.0.5
func PgListExtensions ¶ added in v1.0.5
func PgListExtensions(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgListExtensions returns a tool handler that lists PostgreSQL extensions.
func PgListExtensionsSchema ¶ added in v1.0.5
PgListExtensionsSchema returns the JSON Schema for the pg_list_extensions tool.
func PgListPartitions ¶ added in v1.0.5
func PgListPartitions(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgListPartitions returns a tool handler that lists partitions of a PostgreSQL table.
func PgListPartitionsSchema ¶ added in v1.0.5
PgListPartitionsSchema returns the JSON Schema for the pg_list_partitions tool.
func PgListPolicies ¶ added in v1.0.5
func PgListPolicies(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgListPolicies returns a tool handler that lists Row-Level Security policies.
func PgListPoliciesSchema ¶ added in v1.0.5
PgListPoliciesSchema returns the JSON Schema for the pg_list_policies tool.
func PgListPublications ¶ added in v1.0.5
func PgListPublications(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgListPublications returns a tool handler that lists PostgreSQL logical replication publications.
func PgListPublicationsSchema ¶ added in v1.0.5
PgListPublicationsSchema returns the JSON Schema for the pg_list_publications tool.
func PgListReplicationSlots ¶ added in v1.0.5
func PgListReplicationSlots(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgListReplicationSlots returns a tool handler that lists PostgreSQL replication slots.
func PgListReplicationSlotsSchema ¶ added in v1.0.5
PgListReplicationSlotsSchema returns the JSON Schema for the pg_list_replication_slots tool.
func PgListRoles ¶ added in v1.0.5
func PgListRoles(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgListRolesSchema ¶ added in v1.0.5
func PgListSchemas ¶ added in v1.0.5
func PgListSchemas(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgListSchemas returns a tool handler that lists PostgreSQL schemas.
func PgListSchemasSchema ¶ added in v1.0.5
PgListSchemasSchema returns the JSON Schema for the pg_list_schemas tool.
func PgListTriggers ¶ added in v1.0.5
func PgListTriggers(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgListTriggersSchema ¶ added in v1.0.5
func PgListen ¶ added in v1.0.5
func PgListen(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgListenSchema ¶ added in v1.0.5
func PgNotify ¶ added in v1.0.5
func PgNotify(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgNotifySchema ¶ added in v1.0.5
func PgRefreshMaterializedView ¶ added in v1.0.5
func PgRefreshMaterializedView(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgRefreshMaterializedViewSchema ¶ added in v1.0.5
func PgReindex ¶ added in v1.0.5
func PgReindex(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgReindex returns a tool handler that runs REINDEX on a PostgreSQL object.
func PgReindexSchema ¶ added in v1.0.5
PgReindexSchema returns the JSON Schema for the pg_reindex tool.
func PgReplicationStatus ¶ added in v1.0.5
func PgReplicationStatus(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgReplicationStatus returns a tool handler that shows PostgreSQL replication status.
func PgReplicationStatusSchema ¶ added in v1.0.5
PgReplicationStatusSchema returns the JSON Schema for the pg_replication_status tool.
func PgRevoke ¶ added in v1.0.5
func PgRevoke(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgRevokeSchema ¶ added in v1.0.5
func PgSetSearchPath ¶ added in v1.0.5
func PgSetSearchPath(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgSetSearchPath returns a tool handler that sets the PostgreSQL search path.
func PgSetSearchPathSchema ¶ added in v1.0.5
PgSetSearchPathSchema returns the JSON Schema for the pg_set_search_path tool.
func PgTableBloat ¶ added in v1.0.5
func PgTableBloat(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgTableBloat returns a tool handler that shows table bloat statistics.
func PgTableBloatSchema ¶ added in v1.0.5
PgTableBloatSchema returns the JSON Schema for the pg_table_bloat tool.
func PgUpsertEmbedding ¶ added in v1.0.5
func PgUpsertEmbedding(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgUpsertEmbeddingSchema ¶ added in v1.0.5
func PgVacuum ¶ added in v1.0.5
func PgVacuum(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
PgVacuum returns a tool handler that runs VACUUM on a PostgreSQL database or table.
func PgVacuumSchema ¶ added in v1.0.5
PgVacuumSchema returns the JSON Schema for the pg_vacuum tool.
func PgVectorSearch ¶ added in v1.0.5
func PgVectorSearch(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgVectorSearchSchema ¶ added in v1.0.5
func PgVectorStats ¶ added in v1.0.5
func PgVectorStats(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
func PgVectorStatsSchema ¶ added in v1.0.5
func RedisBitmap ¶ added in v1.0.5
func RedisBitmap(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisBitmap returns a tool handler for Redis bitmap commands.
func RedisBitmapSchema ¶ added in v1.0.5
RedisBitmapSchema returns the JSON Schema for the redis_bitmap tool.
func RedisFlushDB ¶ added in v1.0.5
func RedisFlushDB(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisFlushDB returns a tool handler that flushes keys from a Redis database. This is a DESTRUCTIVE operation. Agents should use AskUserQuestion to get explicit user confirmation before invoking this tool.
func RedisFlushDBSchema ¶ added in v1.0.5
RedisFlushDBSchema returns the JSON Schema for the redis_flushdb tool.
func RedisGeo ¶ added in v1.0.5
func RedisGeo(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisGeo returns a tool handler for Redis geospatial commands.
func RedisGeoSchema ¶ added in v1.0.5
RedisGeoSchema returns the JSON Schema for the redis_geo tool.
func RedisHashes ¶ added in v1.0.5
func RedisHashes(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisHashes returns a tool handler for Redis hash operations.
func RedisHashesSchema ¶ added in v1.0.5
RedisHashesSchema returns the JSON Schema for the redis_hashes tool.
func RedisHyperLogLog ¶ added in v1.0.5
func RedisHyperLogLog(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisHyperLogLog returns a tool handler for Redis HyperLogLog operations.
func RedisHyperLogLogSchema ¶ added in v1.0.5
RedisHyperLogLogSchema returns the JSON Schema for the redis_hyperloglog tool.
func RedisKeys ¶ added in v1.0.5
func RedisKeys(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisKeys returns a tool handler that performs key management operations on a Redis connection.
func RedisKeysSchema ¶ added in v1.0.5
RedisKeysSchema returns the JSON Schema for the redis_keys tool.
func RedisLists ¶ added in v1.0.5
func RedisLists(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisLists returns a tool handler for Redis list operations.
func RedisListsSchema ¶ added in v1.0.5
RedisListsSchema returns the JSON Schema for the redis_lists tool.
func RedisPipeline ¶ added in v1.0.5
func RedisPipeline(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisPipeline returns a tool handler that executes multiple Redis commands in a single pipeline (or transaction) round-trip.
func RedisPipelineSchema ¶ added in v1.0.5
RedisPipelineSchema returns the JSON Schema for the redis_pipeline tool.
func RedisPubSub ¶ added in v1.0.5
func RedisPubSub(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisPubSub returns a tool handler for Redis Pub/Sub introspection and publishing. Note: SUBSCRIBE is intentionally excluded — it blocks and is not suitable for a tool-based interface.
func RedisPubSubSchema ¶ added in v1.0.5
RedisPubSubSchema returns the JSON Schema for the redis_pubsub tool.
func RedisScanKeys ¶ added in v1.0.5
func RedisScanKeys(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisScanKeys returns a tool handler that performs a deep key scan on a Redis connection. For each matched key it retrieves TYPE, TTL, and MEMORY USAGE, returning a JSON table.
func RedisScanKeysSchema ¶ added in v1.0.5
RedisScanKeysSchema returns the JSON Schema for the redis_scan_keys tool.
func RedisServer ¶ added in v1.0.5
func RedisServer(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisServer returns a tool handler for Redis server administration commands.
func RedisServerSchema ¶ added in v1.0.5
RedisServerSchema returns the JSON Schema for the redis_server tool.
func RedisSets ¶ added in v1.0.5
func RedisSets(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisSets returns a tool handler for Redis set commands.
func RedisSetsSchema ¶ added in v1.0.5
RedisSetsSchema returns the JSON Schema for the redis_sets tool.
func RedisSortedSets ¶ added in v1.0.5
func RedisSortedSets(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisSortedSets returns a tool handler for Redis sorted set commands.
func RedisSortedSetsSchema ¶ added in v1.0.5
RedisSortedSetsSchema returns the JSON Schema for the redis_sorted_sets tool.
func RedisStreams ¶ added in v1.0.5
func RedisStreams(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisStreams returns a tool handler for Redis stream commands.
func RedisStreamsSchema ¶ added in v1.0.5
RedisStreamsSchema returns the JSON Schema for the redis_streams tool.
func RedisStrings ¶ added in v1.0.5
func RedisStrings(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisStrings returns a tool handler for Redis string commands.
func RedisStringsSchema ¶ added in v1.0.5
RedisStringsSchema returns the JSON Schema for the redis_strings tool.
func RedisTTLInspect ¶ added in v1.0.5
func RedisTTLInspect(mgr *db.Manager) func(ctx context.Context, req *pluginv1.ToolRequest) (*pluginv1.ToolResponse, error)
RedisTTLInspect returns a tool handler that scans Redis keys matching a pattern and reports each key's type and TTL in a JSON table.
func RedisTTLInspectSchema ¶ added in v1.0.5
RedisTTLInspectSchema returns the JSON Schema for the redis_ttl_inspect tool.
Types ¶
This section is empty.
Source Files
¶
- db_alter_table.go
- db_connect.go
- db_create_database.go
- db_create_index.go
- db_create_table.go
- db_create_view.go
- db_describe_table.go
- db_disconnect.go
- db_drop_database.go
- db_drop_index.go
- db_drop_table.go
- db_drop_view.go
- db_export.go
- db_import.go
- db_list_connections.go
- db_list_constraints.go
- db_list_indexes.go
- db_list_tables.go
- db_list_views.go
- db_query.go
- db_stats.go
- db_table_size.go
- mongo_aggregate.go
- mongo_bulk.go
- mongo_collections.go
- mongo_documents.go
- mongo_export.go
- mongo_helpers.go
- mongo_import.go
- mongo_indexes.go
- mongo_schema.go
- mongo_server.go
- pg_add_tsvector_column.go
- pg_add_vector_column.go
- pg_analyze.go
- pg_bulk_upsert_embeddings.go
- pg_cluster.go
- pg_create_gin_index.go
- pg_create_materialized_view.go
- pg_create_partition.go
- pg_create_partitioned_table.go
- pg_create_policy.go
- pg_create_role.go
- pg_create_schema.go
- pg_create_trigger.go
- pg_create_trigger_function.go
- pg_create_vector_index.go
- pg_delete_embeddings.go
- pg_detach_partition.go
- pg_drop_schema.go
- pg_drop_trigger.go
- pg_enable_extension.go
- pg_enable_rls.go
- pg_enable_vectors.go
- pg_fts_search.go
- pg_grant.go
- pg_helpers.go
- pg_index_bloat.go
- pg_list_channels.go
- pg_list_extensions.go
- pg_list_partitions.go
- pg_list_policies.go
- pg_list_publications.go
- pg_list_replication_slots.go
- pg_list_roles.go
- pg_list_schemas.go
- pg_list_triggers.go
- pg_listen.go
- pg_notify.go
- pg_refresh_materialized_view.go
- pg_reindex.go
- pg_replication_status.go
- pg_revoke.go
- pg_search_path.go
- pg_table_bloat.go
- pg_upsert_embedding.go
- pg_vacuum.go
- pg_vector_search.go
- pg_vector_stats.go
- redis_bitmap.go
- redis_flushdb.go
- redis_geo.go
- redis_hashes.go
- redis_helpers.go
- redis_hyperloglog.go
- redis_keys.go
- redis_lists.go
- redis_pipeline.go
- redis_pubsub.go
- redis_scan_keys.go
- redis_server.go
- redis_sets.go
- redis_sorted_sets.go
- redis_streams.go
- redis_strings.go
- redis_ttl_inspect.go