set_general_access
After user confirmation, set a List or View to restricted, Team-visible, or anyone-with-link access. Requires full access; Team access only works on a Team-owned List or View. Link access is view-only. Does not create invitations or collaborator grants. Pass exactly one of list_id, list_name, view_id, or view_name.
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": {
"access": "<access>",
"role": "<role>"
},
"name": "set_general_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| access | Yes | ||
| list_id | No | The list id. Pass this OR list_name. | |
| view_id | No | The View id. Pass this OR view_name. | |
| list_name | No | The list name, matched case-insensitively. Pass this OR list_id. | |
| view_name | No | The View name, matched case-insensitively. Pass this OR view_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether noticed completed the operation. | |
| data | No | The operation result when ok is true. | |
| error | No | A human-readable error when ok is false. |