Add runtime capability scaffolding and align docs
This commit is contained in:
parent
fb8b985049
commit
cbf212bb7b
19 changed files with 1048 additions and 71 deletions
|
|
@ -59,6 +59,11 @@ def create_server(manager: VmManager | None = None) -> FastMCP:
|
|||
"""Get the current state and metadata for a VM."""
|
||||
return vm_manager.status_vm(vm_id)
|
||||
|
||||
@server.tool()
|
||||
async def vm_network_info(vm_id: str) -> dict[str, Any]:
|
||||
"""Get the current network configuration assigned to a VM."""
|
||||
return vm_manager.network_info_vm(vm_id)
|
||||
|
||||
@server.tool()
|
||||
async def vm_reap_expired() -> dict[str, Any]:
|
||||
"""Delete VMs whose TTL has expired."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue