Update Existing Tool
Update tool yang sudah ada karena selector berubah atau kode diperbaiki. Version naik otomatis dan changelog tercatat.
Runtime Environment
- Runtime:
node_js - Platform: floworkos.com
- Last Verified: 2026-04
Pre-Conditions
- Tool yang mau di-update sudah ada
- Ada perubahan yang perlu disimpan
⚡ Executable Code
// FASE 5: Update Existing Tool
// Runtime: engine_action
// Gunakan jika tool GAGAL atau perlu diperbaiki
// FORMAT:
// {
// "action": "tools_save",
// "tool": {
// "id": "tool-existing-id",
// "name": "Nama Updated",
// "code": "// KODE DIPERBAIKI\nbtn.click();",
// "selectors": { "primary": "[new-selector]" },
// "platform_version": "2026-04"
// },
// "change_reason": "Selector changed from [old] to [new]"
// }
//
// PENTING:
// - ID HARUS SAMA dengan tool yang di-update
// - change_reason WAJIB (untuk changelog)
// - Tags dan conditions di-merge dengan yang lama
// - Version otomatis naik
Expected Result
- Version tool naik
- Changelog tercatat
Success Indicators
Response: status success, action updated
Statistics
1Times Used
0%Success Rate
v1Version