Create share
create_shareMake a link that grants chosen permissions on one doc, node or graph to whoever holds it.
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": {
"id": "<id>"
},
"name": "create_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of a doc or node (or of an edge, a message or a share link, where the path says so). | |
| ttl | No | Lifetime such as 30m or 24h. Default: no expiry. | |
| perms | No | Comma-separated: read, write, append, delete. Default read. | |
| credential | No | The bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header. |