Set an instance's timer
update_instanceSet an instance's timer
Sets when a running instance stops by itself: hours from now (to extend it, or shorten it), or null to run until stopped. The price and limits stay as they are; billing stays per second. 409 conflict when it has already stopped.
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": {
"id": "<id>",
"hours": "<hours>"
},
"name": "update_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The instance id. | |
| hours | Yes | Hours from now until it stops by itself; null: it runs until you stop it. |