clearly_edit
Change part of an artifact. The operation preserves content outside the requested change. Arguments depend on the artifact type. A document takes { find, replace } and refuses an ambiguous match rather than guessing; a sheet takes cells; a deck takes a slide role; a ticket takes fields; a CANVAS takes { ids, patch } — the node ids (or layer names) and the JSON fields to set on them (x, y, w, h, fill, stroke, text, fontSize, opacity, …). A textual find/replace is REFUSED on grids and scenes, where it has no defined meaning. WHO CAN SEE IT: on a document, sheet, deck or canvas, changes: { sharing: { visibility?, project? } } — project (id or title) files it so that project's members see it, null takes it back to private; visibility "private" | "workspace" applies while it is unfiled. Only on work you made; the reply says who can see it now. Pass batch to edit several.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clearly_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | document only: replace every occurrence instead of refusing an ambiguous match. | |
| find | No | document only: the exact text to replace. Must match once unless `all` is set. | |
| type | No | Override the type when the target carries no extension. | |
| batch | No | Edit several: `[{ target, … }, …]`. Max 50. | |
| target | No | Path, key or id of the artifact to change. | |
| changes | No | Type-specific change fields. On a document, sheet, deck or canvas, `{ sharing: { visibility?, project? } }` changes who can see it. | |
| replace | No | document only: what replaces it. |