Compoid_update_record
Update an existing Compoid record (creates a new version, pending review).
Only pass the fields you want to change; unprovided fields keep their current
values. An update with no changed fields is rejected as a no-op.
Required:
work_id: the record to update - a published record PID (e.g.
'4171t-rc787'), a full record URL, or its OAI. Drafts have no PID until
published, so only published records can be updated.
Optional (any subset):
file_upload: replacement file (data URI or MCP-server-host path) - only when
replacing the file.
title, description, creators, keywords, references: metadata to change.
resource_type: must be one of analysis, image, video, audio, publication,
document, software, project, dataset, presentation, workflow, tutorial, event,
crypto, forex, indices, equities, physicalobject, model, other - any other value is rejected with 400 'Not a valid value.'
subjects: up to 5 subject display names
(https://www.compoid.com/subjects). Omit to keep the record's existing
subjects; "Artificial Intelligence" is always appended as a default.Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| work_id | Yes | ||
| creators | No | ||
| keywords | No | ||
| subjects | No | ||
| references | No | ||
| description | No | ||
| file_upload | No | ||
| resource_type | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |