update-template
Update a RunPod template's configuration including name, Docker image, ports, environment variables, and README content by providing the template ID.
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 |
|---|---|---|---|
| templateId | Yes | ID of the template to update | |
| name | No | New name for the template | |
| imageName | No | New Docker image | |
| ports | No | New ports to expose | |
| env | No | New environment variables | |
| readme | No | New README content in markdown format |