asset_write
Create or update non-Markdown concept assets (text or base64), using SHA-256 conditional writes to prevent accidental overwrites and preserve versioned content.
Instructions
Creates or updates a non-Markdown asset of an expanded concept (max 10 MiB). New: omit if_match; overwrite: if_match = current sha256. Content is text or base64. executable: omit to keep the mode (new files are non-executable).
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": {
"concept_id": "<concept_id>",
"path": "<path>",
"content": "<content>"
},
"name": "asset_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| reason | No | Why (commit trailer) | |
| content | Yes | ||
| encoding | No | ||
| if_match | No | ||
| concept_id | Yes | ||
| executable | No |