game_spawn
Spawn a client-local test vehicle, ped, or object for FiveM development, optionally warp the player into the spawned vehicle, and clean it up with test_cleanup.
Instructions
Spawn a client-local test vehicle, ped or object (cleaned up by test_cleanup). warpIn puts the player in a spawned vehicle.
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": {
"kind": "<kind>",
"model": "<model>"
},
"name": "game_spawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| model | Yes | ||
| player | No | ||
| server | No | ||
| warpIn | No | ||
| heading | No | ||
| position | No |