hf_runtime_start
Provision a Hugging Face GPU machine with Jupyter for interactive ML work, returning immediately so you can connect once the runtime is ready.
Instructions
Rent a Hugging Face machine running Jupyter, to use like a Colab/Kaggle runtime.
Returns at once; then call hf_runtime_connect (the machine needs a minute or two).
Billing runs per minute until hf_runtime_stop, the timeout, or idle_minutes
with nothing running — whichever comes first. The disk is temporary: push results
with hf_push_run or save_checkpoint before stopping.
flavor: machine type from hf_hardware, e.g. "t4-small", "a10g-small", "l4x1". timeout: hard time limit such as "2h" or "8h". idle_minutes: shut down after this long with no activity and no run in progress (0 disables the idle shutdown). image: Docker image with Python 3; defaults to an official PyTorch + CUDA image.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hf_runtime_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ||
| flavor | No | cpu-basic | |
| timeout | No | 2h | |
| idle_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |