set_favorite
Marks or unmarks a file or folder as a favorite by path, so MCP clients can organize important Nextcloud items.
Instructions
Mark or unmark a file/folder as favorite
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": "set_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or folder path | |
| favorite | No | true to add, false to remove |