update-template
Update an existing RunPod template by ID, modifying its name, Docker image, ports, environment variables, or README content.
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": {
"templateId": "<templateId>"
},
"name": "update-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | New environment variables | |
| name | No | New name for the template | |
| ports | No | New ports to expose | |
| readme | No | New README content in markdown format | |
| imageName | No | New Docker image | |
| templateId | Yes | ID of the template to update |