workspace_write
Create or overwrite files in a game project workspace, automatically creating parent folders and optionally appending content to existing files.
Instructions
Create or overwrite a workspace file; parent folders are created. Set append=true to add to the end instead.
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": {
"path": "<path>",
"content": "<content>"
},
"name": "workspace_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the workspace root. | |
| append | No | ||
| content | Yes | ||
| project | No |