database

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateDatabase = "create_database"
)
View Source
const (
	ListDatabases = "list_databases"
)

Variables

This section is empty.

Functions

func RegisterTools added in v1.0.0

func RegisterTools(s *mcp.Server)

Types

type CreateDatabaseInput added in v0.2.0

type CreateDatabaseInput struct {
	DatabaseType string `json:"database_type" jsonschema:"installed database app type, support mysql and postgresql"`
	Database     string `json:"database" jsonschema:"installed database app name"`
	Name         string `json:"name" jsonschema:"database name"`
	Username     string `json:"username,omitempty" jsonschema:"database username"`
	Password     string `json:"password,omitempty" jsonschema:"database password"`
}

type ListDatabasesInput added in v0.2.0

type ListDatabasesInput struct {
	Name string `json:"name" jsonschema:"database name"`
}

Jump to

Keyboard shortcuts

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