Create Artifact
lyzr_create_artifactCreates a new artifact for a user and session, storing content and metadata, and returns the created artifact.
Instructions
Create a new artifact for a user/session. Returns the created artifact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The artifact payload/content | |
| name | No | Artifact name | |
| user_id | Yes | User id that owns the artifact | |
| metadata | No | Arbitrary metadata to attach | |
| session_id | Yes | Session id the artifact belongs to | |
| description | No | Artifact description | |
| format_type | No | Format of the data, e.g. text, json, markdown (default text) |