Open document
nextcloud_open_documentOpen a document for editing in Nextcloud and return a one-time editor URL for Office files or Markdown.
Instructions
Open one document for editing and return a one-time editor url
for the connected account (Office for office files, Text for markdown).
POST /ocs/v2.php/apps/richdocuments/api/v1/document
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": {
"path": "<path>"
},
"name": "nextcloud_open_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |