objects_spawn
Spawn a game object or linked-library template at a position in a TTCraft table, returning observed new objects; apply objects_patch afterward to edit template-spawned fields.
Instructions
Spawn an object or a native linked library template. For a template, spawn fields come from the template; use objects_patch afterwards. Returns observed new objects, which can also include concurrent spawns by others. Use blueprint_apply for reliably tracked repeated builds.
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": {
"position": "<position>"
},
"name": "objects_spawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | ||
| position | Yes | ||
| table_id | No | Omit to use the active connected table. | |
| template | No |