Create Document from METS
transkribus_coll_create_doc_from_metsCreate a collection document from METS XML by providing inline XML or a local file path, uploaded as multipart form data.
Instructions
Create a document in a collection from a METS XML document, uploaded as multipart form data. Provide exactly one of metsXml or metsFilePath.
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": {
"collId": "<collId>"
},
"name": "transkribus_coll_create_doc_from_mets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collId | Yes | Collection ID | |
| metsXml | No | Inline METS XML content | |
| metsFilePath | No | Local file path to a METS XML file |