Get rental status and access
get_rentalRetrieve rental details by ID. Returns state, charges, and access endpoints/SSH key for running or recently stopped instances.
Instructions
Get one AmpleRun rental by rental_id: state, cumulative charge (micro-units), rate and funded-through time. While it is RUNNING (verified ready), and read-only for a limited window after STOPPED, also returns access: endpoints, SSH host-key fingerprint, a ready-made command and, for model templates, the endpoint's per-rental API key. Read-only. list_rentals finds rental ids.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rental_id": "<rental_id>"
},
"name": "get_rental"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rental_id | Yes | rental_id from create_rental or list_rentals. |