Paint skin
apply_skin_opsApply an ordered batch of surface operations (max 120) to the latest revision of a session and save a new revision; the open canvas updates on its own. Ops use local face coordinates: fill_surface, fill_rect, apply_pattern, paint_pixels, mirror_part, mirror_surface, clear_surface. Invalid ops are skipped and reported. Pass parentRevisionId to fail instead of overwriting a newer revision.
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": {
"requestId": "<requestId>",
"sessionId": "<sessionId>",
"ops": "<ops>"
},
"name": "apply_skin_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| requestId | Yes | Fresh UUID per write; reuse it only to retry the same write | |
| sessionId | Yes | Cloud skin session id | |
| parentRevisionId | No | Revision id within the session |