ac_launch
Start an offline Assetto Corsa practice session on a chosen track and car: writes a temporary race.ini, launches the game, waits for the bridge heartbeat, and presses Drive.
Instructions
Start an offline practice session (writes a temporary race.ini after backing it up, starts acs.exe, waits
for the bridge heartbeat, presses Drive). window_width/height > 0 temporarily switches video.ini to a single
windowed screen of that size (restored by ac_quit). hour is the start time (08..18); use ac_set_time for any time/date.
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": {
"track": "<track>"
},
"name": "ac_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| car | No | abarth500 | |
| hour | No | ||
| skin | No | ||
| track | Yes | ||
| layout | No | ||
| timeout | No | ||
| window_width | No | ||
| start_session | No | ||
| window_height | No |