| [ |
| { |
| "type": "function", |
| "function": { |
| "name": "get_system_info", |
| "description": "Get system hardware and OS summary: hostname, CPU model, cores, memory total/used, swap, uptime, load average, kernel, OS version", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_system_version", |
| "description": "Check current Eight.ly software version", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_system_logs", |
| "description": "Get recent system log entries from journald", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_node_time", |
| "description": "Get current system time, timezone, and NTP sync status", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_storage_status", |
| "description": "List all storage devices with mount points, capacity, usage percentage, and health status", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_cache_status", |
| "description": "Get cache drive usage, mover configuration, and pending move count", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_snapraid_status", |
| "description": "Get SnapRAID parity status including last sync time and error count", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_disk_health", |
| "description": "Get SMART health data for all physical disks", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_zfs_pools", |
| "description": "List ZFS pools with health, capacity, and dataset info", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_containers", |
| "description": "List all Docker containers with name, image, status, CPU%, memory, ports, and IP address", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_container_logs", |
| "description": "Get recent logs for a specific Docker container", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_container_stats", |
| "description": "Get CPU, memory, network I/O stats for a specific container", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_docker_stacks", |
| "description": "List Docker Compose stacks with service count and status", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_docker_images", |
| "description": "List installed Docker images with size and tag", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_docker_networks", |
| "description": "List Docker networks with driver and subnet", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_docker_volumes", |
| "description": "List Docker volumes with driver and mount point", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_vms", |
| "description": "List all virtual machines with name, state, CPU count, memory, and VNC port", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_vm_stats", |
| "description": "Get live CPU, memory, disk I/O, and network I/O stats for a VM", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_vm_snapshots", |
| "description": "List snapshots for a specific VM", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "list_lxc_containers", |
| "description": "List LXC containers with name, state, IP, and PID", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_smb_shares", |
| "description": "List all SMB/CIFS file shares with path, access mode, and status", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_nfs_exports", |
| "description": "List all NFS exports with path, clients, and options", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_network_interfaces", |
| "description": "List network interfaces with IP address, MAC address, and link status", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_firewall_rules", |
| "description": "List UFW firewall rules", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "search_apps", |
| "description": "Search the app store catalog by name or category", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_nova_models", |
| "description": "List installed AI models and their status", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "get_health_overview", |
| "description": "Get overall system health: container health, service status, disk health, and recent alerts", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "container_action", |
| "description": "Perform an action on a Docker container: start, stop, restart, kill, pause, or unpause", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "vm_action", |
| "description": "Perform an action on a virtual machine: start, stop, shutdown, restart, pause, or resume", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "lxc_action", |
| "description": "Perform an action on an LXC container: start, stop, restart, freeze, or unfreeze", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "create_smb_share", |
| "description": "Create a new SMB/CIFS file share", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "create_nfs_export", |
| "description": "Create a new NFS export", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "install_app", |
| "description": "Install a Docker app from the catalog by name", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "run_snapraid_sync", |
| "description": "Start a SnapRAID parity sync operation", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "run_smart_test", |
| "description": "Run a SMART self-test on all drives", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "spin_down_disks", |
| "description": "Spin down idle hard drives to save power", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "create_vm_snapshot", |
| "description": "Create a snapshot of a virtual machine", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "pull_docker_image", |
| "description": "Pull a Docker image by name and tag", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "create_backup", |
| "description": "Create a backup of system configuration files", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "set_timezone", |
| "description": "Set the system timezone", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| }, |
| { |
| "type": "function", |
| "function": { |
| "name": "reboot_system", |
| "description": "Reboot the NAS (requires confirmation)", |
| "parameters": { |
| "type": "object", |
| "properties": {} |
| } |
| } |
| } |
| ] |