esxi_api_invoke
Invoke supported vSphere API methods for ESXi network, storage, hardware, services, accounts, guest, and host management; validate with schema/dry-run before guarded writes.
Instructions
高级类型化调用:覆盖服务器支持的 vSphere API 管理方法(网络/存储/硬件/服务/账户/guest/主机)。
先 managers/inventory → schema/get → dry_run。真实调用需要写开关、 ESXI_ENABLE_ADVANCED_WRITES=true、expected_target='准确_type:准确_moId'。 非 VM 对象的调用需 allow_disruption=true,可能影响主机/共享资源/管理链路。 直接 VM 引用仍受 protected_vm_ids 限制;共享资源修改须由调用者审查其依赖。 不执行任意 Python 或 shell。异步返回 task_id 后继续查询状态。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| target | Yes | ||
| dry_run | No | ||
| arguments | No | ||
| request_id | No | ||
| expected_target | No | ||
| allow_disruption | No | ||
| acknowledged_vm_ids | No | ||
| allow_unknown_impact | No | ||
| allow_protected_impact | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |