delete_option
Remove an answer option from a specific question in a Nextcloud form by providing the form, question, and option IDs. Confirms deletion of the option.
Instructions
Delete an answer option from a question.
Args: form_id: Numeric form id. question_id: Numeric question id. option_id: Numeric option id.
Returns: Confirmation with the deleted 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>",
"question_id": "<question_id>",
"option_id": "<option_id>"
},
"name": "delete_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | ||
| option_id | Yes | ||
| question_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |