write_text_asset
Writes any text file (JSON, .asmdef, .shader, .txt, .csv) into a Unity project with path sandboxing and automatic backup.
Instructions
Schreibt eine beliebige Textdatei ins Projekt (JSON, .asmdef, .shader, .txt, .csv …). Path-Sandbox + Backup.
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": {
"project_path": "<project_path>",
"rel_path": "<rel_path>",
"content": "<content>"
},
"name": "write_text_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| rel_path | Yes | ||
| content | Yes |