delete_survey
Remove a LimeSurvey survey by specifying its survey ID to manage survey data and maintain organized survey lists.
Instructions
Delete a LimeSurvey survey.
Args:
sid: The survey ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes |
Implementation Reference
- main.py:391-399 (handler)The handler function for the 'delete_survey' tool. It is registered via the @mcp.tool() decorator and implements the logic to delete a survey by ID using the LimeSurvey client.@mcp.tool() def delete_survey(sid: int) -> bool: """Delete a LimeSurvey survey. Args: sid: The survey ID. """ with get_client() as client: return client.delete_survey(sid)