Create share link
create_share_linkCreate a public download link to a household's document: anyone holding the link can download the file until it expires after expires_in_hours (default 24, at most 720 = 30 days). Returns the link's token and expiry. Needs confirm=true: the first call returns a plan.
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": {
"household_id": "<household_id>",
"doc_id": "<doc_id>"
},
"name": "create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| confirm | No | ||
| household_id | Yes | ||
| expires_in_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |