update_permission
Update a file's existing permission role. Provide file ID, permission ID, and new role (reader, writer, commenter, or owner).
Instructions
Update an existing permission's role on a file.
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": {
"file_id": "<file_id>",
"permission_id": "<permission_id>",
"role": "<role>"
},
"name": "update_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New role: 'reader', 'writer', 'commenter', or 'owner'. | |
| file_id | Yes | The ID of the file. | |
| permission_id | Yes | The ID of the permission to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |