Register a document
register_documentRegister an existing document via a host-configured connection and return an opaque documentId for later edits. Provide the connectionId and source path; never include credentials.
Instructions
Register an existing document with a host-configured provider connection and return its opaque documentId. source is connection-specific: for a filesystem connection, a path under its root. Never pass credentials. Returns {connectionId, documentId, name, contentType, version}.
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": {
"connectionId": "<connectionId>",
"source": "<source>"
},
"name": "register_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| connectionId | Yes |