MCP Tool
artifact_write
Create, update, or delete a file artifact. `create` requires `name` and `content` (markdown by default, or html); `update`/`delete` require `id`.
Input schema
api_keystringOptional API key for authentication.action"create" | "update" | "delete"requiredThe operation to perform.idstringArtifact ID (required for update/delete).namestringName/label (required for create).contentstringArtifact content (required for create).format"markdown" | "html"Content format (markdown is the default).Example call
tools/call params
{
"name": "artifact_write",
"arguments": {
"api_key": "agt_…",
"action": "create"
}
}