fix: correct AI tool description for guest resource ID format
The set_resource_url tool had an incorrect example ID format ('pve1-delly-101')
which caused the AI to save URLs with wrong IDs that didn't match the actual
guest IDs used by Pulse ('instance-VMID' format like 'delly-150').
This fix updates the tool description to clearly document the correct format,
so URLs saved by the AI will now properly appear in the dashboard.
This commit is contained in:
parent
bf43d448cf
commit
a8188b92fb
1 changed files with 1 additions and 1 deletions
|
|
@ -1628,7 +1628,7 @@ func (s *Service) getTools() []providers.Tool {
|
|||
},
|
||||
"resource_id": map[string]interface{}{
|
||||
"type": "string",
|
||||
"description": "The resource ID from the context (e.g., 'pve1-delly-101' for guests, 'dockerhost:container:abc123' for Docker). Use the ID from the current context.",
|
||||
"description": "The resource ID from the context. For Proxmox guests, use format 'instance-VMID' (e.g., 'delly-150' where 'delly' is the PVE instance name and '150' is the VMID). For Docker, use format 'hostid:container:containerid'. Use the ID shown in the current context.",
|
||||
},
|
||||
"url": map[string]interface{}{
|
||||
"type": "string",
|
||||
|
|
|
|||
Loading…
Reference in a new issue