Update an existing Temp
update_tempUpdate a published artifact on temp.md without changing its URL, resetting the expiry window. Falls back to the previous version if the update fails.
Instructions
Push a new version of an artifact behind the same temp.md URL — no re-sharing needed. Resets the 7-day active window. Reads temp_id and update_token from the project's .tempmd file when omitted. If the update fails, the previous version stays live.
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": {
"file": "<file>"
},
"name": "update_temp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the updated main artifact file | |
| title | No | ||
| temp_id | No | Temp ID (omit to use the project's .tempmd record) | |
| project_dir | No | Project root holding the .tempmd records file. Defaults to the current working directory. | |
| update_token | No | Update token (omit to use the project's .tempmd record) | |
| additional_files | No | Extra files to publish alongside the main file (scripts, styles, images) |