propose_share
Prepare sharing a note or folder with a person. Nothing is shared: you get a link for the user that opens Cobrain's «Who has access» window filled in with the email and permission, and the user confirms there with one click. Use only when the user asked to share; who_sees lists the emails of people already in the brain.
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>",
"email": "<email>"
},
"name": "propose_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default read | |
| path | Yes | Note or folder | |
| Yes | |||
| workspace | No | Usually omit; else brain id (as in search hits), 'mine', or owner name/email. |