routine_code_commit
Save and version code for Edge Routines (ER) within the ESA MCP Server, ensuring future modifications or releases are tracked efficiently.
Instructions
Save a code version for future modifications or release within an Edge Routine (ER).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Source Code of the routine, export default { async fetch(request) { return handleRequest(request); } } | |
description | No | Description of the routine, no spaces | |
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": {
"code": {
"description": "Source Code of the routine, export default { async fetch(request) { return handleRequest(request); } }",
"type": "string"
},
"description": {
"description": "Description of the routine, no spaces",
"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",
"code"
],
"type": "object"
}