Stop a rental
stop_rentalEnd an AmpleRun rental to stop the workload and its metering. Returns rental_id and new state; files remain read-only for a limited retrieval window.
Instructions
Stop an AmpleRun rental: ends the workload and its metering. Files inside the machine stay reachable read-only only for a limited retrieval window. Stopping again is harmless. Returns rental_id and the new state (STOPPING or a later state). Write tool: refused unless the server was started with AMPLERUN_MCP_ALLOW_SPEND=1 (the default is read-only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Recorded with the stop. | stopped by an AI agent via @amplerun/mcp |
| rental_id | Yes | rental_id from create_rental or list_rentals. | |
| idempotency_key | No | UUID that makes retries safe. Generated when omitted. |