sylve_api_call
Execute Sylve API operations (GET/POST/PUT/PATCH/DELETE) to inspect or manage clusters, VMs, jails, ZFS storage, networking, and backups. Pair with sylve_api_schema for accurate request bodies.
Instructions
Execute any documented Sylve API operation directly (GET/POST/PUT/PATCH/DELETE). Combine with sylve_api_schema to build accurate bodies. Filters out None query params.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| node | No | Target cluster node hostname or UUID. Omit for cluster-wide. | |
| path | Yes | API path, e.g. /vm/{rid}/actions/{action}. | |
| wait | No | ||
| method | Yes | ||
| context | No | Named login context from ~/.config/sylve/config.yaml. | |
| event_kind | No | Poll returned eventId as this kind. | |
| path_params | No | Values for {placeholders} in the path. | |
| upload_file | No | Local file to multipart-upload (POST). | |
| query_params | No | ||
| wait_timeout | No | ||
| download_path | No | Local path to stream a binary download to. |