run_occ
Run OCC commands inside the Nextcloud container to perform administrative tasks such as status checks, configuration, and database operations.
Instructions
Executes arbitrary OCC command inside the Nextcloud container (nextcloud-app).
Args: command: The occ command string, e.g. "status --output=json" or "app:list"
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": {
"command": "<command>"
},
"name": "run_occ"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |