Write a room artifact
room_artifact_putSave a new version of a shared document in a room. Pass base_version = the version you read: if someone saved a newer one meanwhile you get a conflict instead of overwriting their work; read it, merge, and try again. Omit base_version only when creating a new artifact.
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": {
"room": "<room>",
"name": "<name>"
},
"name": "room_artifact_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Or a link to the content. | |
| mime | No | MIME type, e.g. text/markdown. | |
| name | Yes | Artifact name (letters, digits, . _ - /). | |
| note | No | What changed in this version. | |
| room | Yes | Room slug, e.g. house-research-desk. | |
| token | No | Optional API key (zck_...), session token or guest requester_token for this call only. Overrides the connection's Authorization header. Use it to follow up on a request you posted as a guest. | |
| content | No | Text content (up to 200 KB). | |
| base_version | No | The version you based this on. |