Update Artifact
lyzr_update_artifactUpdate an existing artifact by specifying its ID and optional new fields like name, description, content, metadata, or format, scoped to a user and session.
Instructions
Update fields on an existing artifact, scoped to a user and session.
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_id": "<artifact_id>",
"user_id": "<user_id>",
"session_id": "<session_id>"
},
"name": "lyzr_update_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | New artifact payload/content | |
| name | No | New name | |
| user_id | Yes | User id | |
| metadata | No | New metadata (replaces existing) | |
| session_id | Yes | Session id | |
| artifact_id | Yes | Artifact id to update | |
| description | No | New description | |
| format_type | No | New format type |