delete_group
Remove a question group from a LimeSurvey survey by specifying the survey ID and group ID to manage survey structure.
Instructions
Delete a group from a LimeSurvey survey.
Args:
sid: The survey ID.
gid: The group ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| gid | Yes |
Implementation Reference
- main.py:449-459 (handler)The main handler function for the 'delete_group' tool. It is decorated with @mcp.tool() which registers it in FastMCP with the name 'delete_group' based on the function name. The function deletes a question group from a survey by calling the underlying LimeSurvey client's delete_group method.@mcp.tool() def delete_group(sid: int, gid: int) -> bool: """Delete a group from a LimeSurvey survey. Args: sid: The survey ID. gid: The group ID. """ with get_client() as client: return client.delete_group(sid, gid)