delete_response
Remove a specific survey response by providing the survey ID and response ID to manage data in LimeSurvey MCP Server efficiently.
Instructions
Delete a response from a LimeSurvey survey.
Args:
sid: The survey ID.
response_id: The response ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_id | Yes | ||
| sid | Yes |
Implementation Reference
- main.py:292-302 (handler)The handler function for the 'delete_response' MCP tool. It is decorated with @mcp.tool() which registers it, and implements the logic by calling the LimeSurvey client's delete_response method via a context-managed client.@mcp.tool() def delete_response(sid: int, response_id: int) -> bool: """Delete a response from a LimeSurvey survey. Args: sid: The survey ID. response_id: The response ID. """ with get_client() as client: return client.delete_response(sid, response_id)