set_asset_text
Overwrite an asset's full contents by providing its ID and replacement text, supporting CSS, HTML, JSON, script, shader, or text asset types.
Instructions
Overwrite the full contents of a CSS, HTML, JSON, script, shader, or text asset.
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": {
"assetId": "<assetId>",
"text": "<text>"
},
"name": "set_asset_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Full replacement contents | |
| assetId | Yes | Text-based asset id |