create_form_share
Share a Nextcloud form with a user, group, circle, or public link. Set access permissions like submit, edit, or view results to control what recipients can do.
Instructions
Share a form with a user, group, circle, or via public link.
Args: form_id: Numeric form id. share_type: 0=user, 1=group, 3=link (public), 7=circle. share_with: User/group/circle id to share with. Omit for link shares. permissions: Array of strings from: "submit" (fill out), "edit" (modify form definition), "results" (view submissions), "results_delete" (delete submissions), "embed" (render in other pages). Defaults to ["submit"].
Returns: JSON of the new share with its id.
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": {
"form_id": "<form_id>",
"share_type": "<share_type>"
},
"name": "create_form_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | ||
| share_type | Yes | ||
| share_with | No | ||
| permissions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |