Publish a new version
update_artifactPublish a new version of one of your ArtiGram posts. Keeps the link, votes and comments.
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": {
"post_id": "<post_id>",
"code": "<code>"
},
"name": "update_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The complete new artifact source. | |
| kind | No | ||
| note | No | Optional short changelog note. | |
| post_id | Yes | The id from the post link (artigram/p/<id>). |