Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions internal/tiger/mcp/service_tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ func (ServiceCreateInput) Schema() *jsonschema.Schema {
schema := util.Must(jsonschema.For[ServiceCreateInput](nil))

schema.Properties["name"].Description = "Human-readable name for the service (auto-generated if not provided)"
schema.Properties["name"].MaxLength = util.Ptr(128) // Matches backend validation
schema.Properties["name"].Examples = []any{"my-production-db", "analytics-service", "user-store"}

schema.Properties["addons"].Description = "Array of addons to enable for the service. 'time-series' enables TimescaleDB, 'ai' enables AI/vector extensions. Use empty array for PostgreSQL-only."
Expand Down Expand Up @@ -216,7 +215,6 @@ func (ServiceForkInput) Schema() *jsonschema.Schema {
setServiceIDSchemaProperties(schema)

schema.Properties["name"].Description = "Human-readable name for the forked service (auto-generated if not provided)"
schema.Properties["name"].MaxLength = util.Ptr(128) // Matches backend validation
schema.Properties["name"].Examples = []any{"my-forked-db", "prod-fork-test", "backup-db"}

schema.Properties["fork_strategy"].Description = "Fork strategy: 'NOW' creates fork at current state, 'LAST_SNAPSHOT' uses last existing snapshot (faster), 'PITR' allows point-in-time recovery to specific timestamp (requires target_time parameter)"
Expand Down