warden_start_svc
Start Warden system services for Magento 2 development environments by providing the project directory path to manage local development workflows.
Instructions
Start Warden system services
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to the project directory |
Implementation Reference
- server.js:529-536 (handler)The main handler function for the 'warden_start_svc' tool. It extracts the project_path from arguments and executes 'warden svc up' command in the project directory using the shared executeWardenCommand helper.async startSvc(args) { const { project_path } = args; return await this.executeWardenCommand( project_path, ["svc", "up"], "Starting Warden system services", ); }
- server.js:72-85 (schema)Input schema definition for the 'warden_start_svc' tool, specifying that project_path is a required string parameter.{ name: "warden_start_svc", description: "Start Warden system services", inputSchema: { type: "object", properties: { project_path: { type: "string", description: "Path to the project directory", }, }, required: ["project_path"], }, },
- server.js:327-328 (registration)Registration/dispatch in the CallToolRequestSchema handler switch statement, routing calls to the startSvc method.case "warden_start_svc": return await this.startSvc(request.params.arguments);