checkin_document
Check in a document to the content repository, updating its properties and optionally uploading new content files using the document or reservation ID.
Instructions
Checks in a document in the content repository with specified properties.
:param identifier: The identifier (required). This can be either a reservation_id or document_id. Reservation ID (GUID) is prioritized. Otherwise, we use document_id (GUID). :param checkin_action: Check-in action parameters for the document. :param document_properties: Properties to update for the document during check-in. :param file_paths: Optional list of file paths to upload as the document's content.
:returns: If successful, returns a Document object with its updated properties. If unsuccessful, returns a ToolError with details about the failure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identifier": "<identifier>"
},
"name": "checkin_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | No | ||
| identifier | Yes | ||
| checkin_action | No | ||
| document_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |