stop_training
Gracefully stop a Unity ML-Agents training run, sending SIGINT so the model is saved. Use optional timeout to force-kill if needed.
Instructions
Gracefully stop a running training run (sends SIGINT so the model is saved).
Args: run_id: The run to stop. timeout: Seconds to wait for graceful shutdown before force-killing.
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": {
"run_id": "<run_id>"
},
"name": "stop_training"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||