Change a form link
set_form_slugChange the last segment of a form's public link. The old link keeps working and leads to the new one, forever, so links already shared do not break. Returns the new public_url to give the user. SLUG_TAKEN: another form of this workspace holds it (now or before), so a different slug is needed.
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>",
"slug": "<slug>"
},
"name": "set_form_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The new last segment of the public link: lowercase letters, numbers and hyphens, up to 80 characters. | |
| form_id | Yes | The form id, from list_forms or get_form. | |
| workspace_id | No | The workspace this call acts in: an id from list_my_workspaces. Required for a person signed in with several workspaces and for staff of this deployment; optional with an API key or with only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | Yes | ||
| workspace | Yes | The workspace this call acted in, to compare with the one the user means. |