tools

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

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

func DbAlterTableSchema() *structpb.Struct

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

func DbConnectSchema() *structpb.Struct

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

func DbCreateDatabaseSchema() *structpb.Struct

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

func DbCreateIndexSchema() *structpb.Struct

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

func DbCreateTableSchema() *structpb.Struct

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

func DbCreateViewSchema() *structpb.Struct

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

func DbDescribeTableSchema() *structpb.Struct

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

func DbDisconnectSchema() *structpb.Struct

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

func DbDropDatabaseSchema() *structpb.Struct

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

func DbDropIndexSchema() *structpb.Struct

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

func DbDropTableSchema() *structpb.Struct

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

func DbDropViewSchema() *structpb.Struct

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

func DbExportSchema() *structpb.Struct

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

func DbImportSchema() *structpb.Struct

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

func DbListConnectionsSchema() *structpb.Struct

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

func DbListConstraintsSchema() *structpb.Struct

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

func DbListIndexesSchema() *structpb.Struct

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

func DbListTablesSchema() *structpb.Struct

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

func DbListViewsSchema() *structpb.Struct

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

func DbQuerySchema() *structpb.Struct

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

func DbStatsSchema() *structpb.Struct

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

func DbTableSizeSchema() *structpb.Struct

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

func MongoAggregateSchema() *structpb.Struct

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

func MongoBulkSchema() *structpb.Struct

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

func MongoCollectionsSchema() *structpb.Struct

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

func MongoDocumentsSchema() *structpb.Struct

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

func MongoExportSchema() *structpb.Struct

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

func MongoImportSchema() *structpb.Struct

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

func MongoIndexesSchema() *structpb.Struct

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

func MongoSchemaSchema() *structpb.Struct

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

func MongoServerSchema() *structpb.Struct

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 PgAddTsvectorColumnSchema() *structpb.Struct

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 PgAddVectorColumnSchema() *structpb.Struct

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

func PgAnalyzeSchema() *structpb.Struct

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 PgBulkUpsertEmbeddingsSchema() *structpb.Struct

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

func PgClusterSchema() *structpb.Struct

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 PgCreateGINIndexSchema() *structpb.Struct

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 PgCreateMaterializedViewSchema() *structpb.Struct

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

func PgCreatePartitionSchema() *structpb.Struct

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

func PgCreatePartitionedTableSchema() *structpb.Struct

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

func PgCreatePolicySchema() *structpb.Struct

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 PgCreateRoleSchema() *structpb.Struct

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

func PgCreateSchemaSchema() *structpb.Struct

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 PgCreateTriggerFunctionSchema() *structpb.Struct

func PgCreateTriggerSchema added in v1.0.5

func PgCreateTriggerSchema() *structpb.Struct

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 PgCreateVectorIndexSchema() *structpb.Struct

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 PgDeleteEmbeddingsSchema() *structpb.Struct

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

func PgDetachPartitionSchema() *structpb.Struct

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

func PgDisableRLSSchema() *structpb.Struct

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

func PgDropSchemaSchema() *structpb.Struct

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 PgDropTriggerSchema() *structpb.Struct

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

func PgEnableExtensionSchema() *structpb.Struct

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

func PgEnableRLSSchema() *structpb.Struct

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 PgEnableVectorsSchema() *structpb.Struct

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 PgFTSSearchSchema() *structpb.Struct

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

func PgGetSearchPathSchema() *structpb.Struct

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 PgGrantSchema() *structpb.Struct

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

func PgIndexBloatSchema() *structpb.Struct

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 PgListChannelsSchema() *structpb.Struct

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

func PgListExtensionsSchema() *structpb.Struct

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

func PgListPartitionsSchema() *structpb.Struct

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

func PgListPoliciesSchema() *structpb.Struct

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

func PgListPublicationsSchema() *structpb.Struct

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

func PgListReplicationSlotsSchema() *structpb.Struct

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 PgListRolesSchema() *structpb.Struct

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

func PgListSchemasSchema() *structpb.Struct

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 PgListTriggersSchema() *structpb.Struct

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 PgListenSchema() *structpb.Struct

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 PgNotifySchema() *structpb.Struct

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 PgRefreshMaterializedViewSchema() *structpb.Struct

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

func PgReindexSchema() *structpb.Struct

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

func PgReplicationStatusSchema() *structpb.Struct

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 PgRevokeSchema() *structpb.Struct

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

func PgSetSearchPathSchema() *structpb.Struct

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

func PgTableBloatSchema() *structpb.Struct

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 PgUpsertEmbeddingSchema() *structpb.Struct

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

func PgVacuumSchema() *structpb.Struct

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 PgVectorSearchSchema() *structpb.Struct

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 PgVectorStatsSchema() *structpb.Struct

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

func RedisBitmapSchema() *structpb.Struct

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

func RedisFlushDBSchema() *structpb.Struct

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

func RedisGeoSchema() *structpb.Struct

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

func RedisHashesSchema() *structpb.Struct

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

func RedisHyperLogLogSchema() *structpb.Struct

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

func RedisKeysSchema() *structpb.Struct

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

func RedisListsSchema() *structpb.Struct

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

func RedisPipelineSchema() *structpb.Struct

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

func RedisPubSubSchema() *structpb.Struct

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

func RedisScanKeysSchema() *structpb.Struct

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

func RedisServerSchema() *structpb.Struct

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

func RedisSetsSchema() *structpb.Struct

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

func RedisSortedSetsSchema() *structpb.Struct

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

func RedisStreamsSchema() *structpb.Struct

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

func RedisStringsSchema() *structpb.Struct

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

func RedisTTLInspectSchema() *structpb.Struct

RedisTTLInspectSchema returns the JSON Schema for the redis_ttl_inspect tool.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL