deploy
Deploy applications to production or staging environments with security policies and approval gates. This tool enables controlled deployment workflows while maintaining audit trails and verification capabilities.
Instructions
Deploy the application to production
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | Yes | Target environment | |
| reason | No | Deployment reason |
Implementation Reference
- src/demo-server.ts:126-128 (handler)The implementation logic for the 'deploy' tool in the demo server.
case 'deploy': resultText = `[demo] Deployed to ${args.environment || 'staging'}${args.reason ? ` (reason: ${args.reason})` : ''}`; break; - src/demo-server.ts:67-78 (schema)Registration and schema definition for the 'deploy' tool.
{ name: 'deploy', description: 'Deploy the application to production', inputSchema: { type: 'object', properties: { environment: { type: 'string', description: 'Target environment', enum: ['staging', 'production'] }, reason: { type: 'string', description: 'Deployment reason' }, }, required: ['environment'], }, },