Coda Add Permission
coda_add_permissionGrant a Coda doc permission to a user by email or domain, setting access to readonly, write, comment, or none. Use it to manage sharing or remove implicit access.
Instructions
Add a permission entry to a Coda doc.
Grants access to a user by email or to an entire domain. Specify either principal_email or principal_domain (not both). The access level controls what the principal can do: readonly, write, comment, or none (removes implicit access). Returns the created permission entry.
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": {
"doc_id": "<doc_id>",
"access": "<access>"
},
"name": "coda_add_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | Yes | Access level to grant | |
| doc_id | Yes | The doc ID to add permission to | |
| principal_email | No | Email address of the user to grant access to | |
| principal_domain | No | Domain to grant access to (e.g. 'example.com') | |
| suppress_notification | No | If True, don't send an email notification |