routine_code_deploy
Deploy specified code versions to production or staging environments on the ESA MCP Server. Ensures version availability or prompts routine_code_commit if required.
Instructions
Deploy a selected code version to the staging or production environment. If version is not exist, should call routine_code_commit first
Input Schema
Name | Required | Description | Default |
---|---|---|---|
codeVersion | Yes | Version of the routine, must be a valid semantic version | |
env | Yes | Environment of the routine, must be "production" or "staging". If the user has no special requirements, it will be deployed to the production environment by default | |
name | Yes | The name of the routine, support lowercase English, numbers, and hyphens, must start with lowercase English, length cannot be less than 2 characters |
Input Schema (JSON Schema)
{
"properties": {
"codeVersion": {
"description": "Version of the routine, must be a valid semantic version",
"type": "string"
},
"env": {
"description": "Environment of the routine, must be \"production\" or \"staging\". If the user has no special requirements, it will be deployed to the production environment by default",
"type": "string"
},
"name": {
"description": "The name of the routine, support lowercase English, numbers, and hyphens, must start with lowercase English, length cannot be less than 2 characters",
"type": "string"
}
},
"required": [
"name",
"codeVersion",
"env"
],
"type": "object"
}