routine_code_commit
Save code versions for Edge Routines to enable future modifications or releases within ESA services.
Instructions
Save a code version for future modifications or release within an Edge Routine (ER).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"code": "<code>"
},
"name": "routine_code_commit"
}
}Input Schema
| Name | Required | Description | 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 | |
| description | No | Description of the routine, no spaces | |
| code | Yes | Source Code of the routine, export default { async fetch(request) { return handleRequest(request); } } |