update_document_lifecycle
Update and manage document lifecycle states (e.g., draft, review, approved) in CastPlan MCP. Includes optional review scheduling and comments for improved workflow tracking.
Instructions
Update the lifecycle state of a document with optional review scheduling
Input Schema
Name | Required | Description | Default |
---|---|---|---|
documentId | Yes | UUID of the document | |
newState | Yes | New lifecycle state | |
reviewComment | No | Optional review comment | |
scheduledReview | No | ISO datetime for scheduled review |
Input Schema (JSON Schema)
{
"properties": {
"documentId": {
"description": "UUID of the document",
"type": "string"
},
"newState": {
"description": "New lifecycle state",
"enum": [
"draft",
"review",
"approved",
"published",
"outdated",
"archived"
],
"type": "string"
},
"reviewComment": {
"description": "Optional review comment",
"type": "string"
},
"scheduledReview": {
"description": "ISO datetime for scheduled review",
"type": "string"
}
},
"required": [
"documentId",
"newState"
],
"type": "object"
}