existdb_store_document
Create or replace XML documents in an eXist-db collection via PUT, specifying collection path, filename, and content for digital humanities TEI/XML projects.
Instructions
Stores (creates or replaces) an XML document in an eXist-db collection via PUT.
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": {
"collection": "<collection>",
"filename": "<filename>",
"content": "<content>"
},
"name": "existdb_store_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Valid XML string content of the document | |
| endpoint | No | ||
| filename | Yes | Document filename, e.g. 'record.xml' | |
| password | No | ||
| username | No | ||
| collection | Yes | Target collection path, e.g. '/db/myapp/data' |