@@ -532,14 +532,9 @@ Returns formatted text output showing:
532532
533533 // Add update tool
534534 type updateArgs struct {
535- Workflows []string `json:"workflows,omitempty" jsonschema:"Workflow IDs to update (empty for all workflows)"`
536- Major bool `json:"major,omitempty" jsonschema:"Allow major version updates when updating tagged releases"`
537- Force bool `json:"force,omitempty" jsonschema:"Force update even if no changes detected"`
538- Engine string `json:"engine,omitempty" jsonschema:"Override AI engine (claude, codex, copilot, custom)"`
539- PR bool `json:"pr,omitempty" jsonschema:"Create a pull request with the workflow changes"`
540- Dir string `json:"dir,omitempty" jsonschema:"Relative directory containing workflows (default: .github/workflows)"`
541- NoStopAfter bool `json:"no_stop_after,omitempty" jsonschema:"Remove any stop-after field from the updated workflow"`
542- StopAfter string `json:"stop_after,omitempty" jsonschema:"Override stop-after value in the updated workflow (e.g., '+48h', '2025-12-31 23:59:59')"`
535+ Workflows []string `json:"workflows,omitempty" jsonschema:"Workflow IDs to update (empty for all workflows)"`
536+ Major bool `json:"major,omitempty" jsonschema:"Allow major version updates when updating tagged releases"`
537+ Force bool `json:"force,omitempty" jsonschema:"Force update even if no changes detected"`
543538 }
544539
545540 mcp .AddTool (server , & mcp.Tool {
@@ -574,21 +569,6 @@ Returns formatted text output showing:
574569 if args .Force {
575570 cmdArgs = append (cmdArgs , "--force" )
576571 }
577- if args .Engine != "" {
578- cmdArgs = append (cmdArgs , "--engine" , args .Engine )
579- }
580- if args .PR {
581- cmdArgs = append (cmdArgs , "--pr" )
582- }
583- if args .Dir != "" {
584- cmdArgs = append (cmdArgs , "--dir" , args .Dir )
585- }
586- if args .NoStopAfter {
587- cmdArgs = append (cmdArgs , "--no-stop-after" )
588- }
589- if args .StopAfter != "" {
590- cmdArgs = append (cmdArgs , "--stop-after" , args .StopAfter )
591- }
592572
593573 // Execute the CLI command
594574 cmd := execCmd (ctx , cmdArgs ... )
0 commit comments