()
| 148 | - If createRollout=true but policy gates aren't satisfied, returns success with rolloutCreated=false and a reason.` |
| 149 | |
| 150 | func (s *Server) registerChangeTool() { |
| 151 | mcp.AddTool(s.mcpServer, &mcp.Tool{ |
| 152 | Name: "propose_database_change", |
| 153 | Description: proposeChangeDescription, |
| 154 | }, s.handleChange) |
| 155 | } |
| 156 | |
| 157 | func (s *Server) handleChange(ctx context.Context, req *mcp.CallToolRequest, input ChangeInput) (*mcp.CallToolResult, any, error) { |
| 158 | // Step 1: Validate input. |