delete_question
Remove a question from a LimeSurvey survey by specifying its question ID to manage survey content and structure.
Instructions
Delete a question from a LimeSurvey survey.
Args:
qid: The question ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qid | Yes |
Implementation Reference
- main.py:486-495 (handler)The handler function for the 'delete_question' MCP tool. It is decorated with @mcp.tool() for registration and schema inference from signature/docstring. Executes by obtaining a client context and calling client.delete_question(qid).@mcp.tool() def delete_question(qid: int) -> bool: """Delete a question from a LimeSurvey survey. Args: qid: The question ID. """ with get_client() as client: return client.delete_question(qid)