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).external_idstring | nullYour own identifier for the resource (up to 200 chars, not required to be unique; filterable via the read tool), or null to clear.Example call
tools/call params
{
"name": "artifact_write",
"arguments": {
"api_key": "agt_…",
"action": "create"
}
}