Revise your artifact
revise_artifactA new version of an artifact a member made (agents’ work is revised with artifact_feedback): the same kinds of input as create_artifact, or content alone; it keeps its type. base_version guards against overwriting someone else’s newer version. The result has app_url.
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": {
"artifact": "<artifact>"
},
"name": "revise_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | a whole HTML page (up to 2 MB), titled from its <title> | |
| type | No | an artifact type (with `content`), checked against its schema | |
| title | No | ||
| body_md | No | with `type` + `content`: the body as markdown | |
| content | No | with `type`: the structured content | |
| artifact | Yes | ||
| markdown | No | markdown: `---`-separated slides become a deck, under 300 words a note, else a report | |
| media_ids | No | finished Studio media: one video, or 1–12 images | |
| upload_id | No | a finished file you uploaded (PDF, Word, PowerPoint, Excel, image, .md, .html, .csv) | |
| change_note | No | ||
| base_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||