create_rental
Start a GPU rental with per-minute billing, returning a rental ID once provisioning begins. Use open-ended rental by default or set an auto-stop hours cap.
Instructions
Start renting a GPU. SPENDS CREDITS (per-minute billing) — confirm with the user before calling. Asynchronous: returns a rental_id with status 'pending'. Provisioning + the secure tunnel take ~20-40 seconds. After creating, call get_rental ONCE to fetch the connection URL — it waits internally for startup and returns when ready, so do NOT poll it in a tight loop. DURATION: the rental is open-ended by default (runs until the user stops it with destroy_rental) — use open-ended as the default. When starting one, briefly tell the user it's open-ended and bills per minute until stopped, and that they can set an 'hours' auto-stop cap instead if they prefer; only pass 'hours' when the user asks for a time limit. An idempotency key is generated automatically so accidental repeats don't start a second GPU.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label for the rental. | |
| type | No | Environment to start. Only 'jupyter' is supported. | |
| hours | No | Optional auto-stop cap: the rental stops itself after this many whole hours. Omit (the default) for an open-ended rental that runs until stopped with destroy_rental. | |
| node_id | Yes | Node UUID from list_gpus. |