リネーム
dx12_rename_entityRenames an entity in the DX12 Engine editor. If the new name is a duplicate, automatically appends a number to make it unique.
Instructions
エンティティ名を変更する。重複名は連番(name_2 など)が付与され、確定した {name} を返す。
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": {
"entity": "<entity>",
"name": "<name>"
},
"name": "dx12_rename_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 新しい名前。 | |
| entity | Yes | エンティティ id(int)。dx12_list_entities / dx12_find_entity で取得。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |