Update a link's content
update_artifactPush a new version to an existing link. Same URL; readers see the new version at once. Also brings in a link that only opens on claude.ai (onClaudeOnly in list_links): send the artifact's complete HTML from this chat, and the link gets time per section, replays, comments and questions, with the same readers. Give the complete new HTML (or Markdown, or a URL) and, if the page loads files by relative path, those files. get_artifact returns the current version.
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": {
"link": "<link>"
},
"name": "update_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| html | No | ||
| link | Yes | The link: its URL, slug, id or title. | |
| files | No | ||
| react | No | A React artifact's complete code (default export). | |
| title | No | ||
| markdown | No |