save_responses
Store survey responses in LimeSurvey by providing survey ID and response data to maintain collected information.
Instructions
Save responses for a LimeSurvey survey.
Args:
sid: The survey ID.
data: The response data to save.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| data | Yes |
Implementation Reference
- main.py:304-313 (handler)The MCP tool handler for 'save_responses'. It is registered via @mcp.tool() decorator and implements the tool logic by calling the LimeSurvey client's save_responses method.@mcp.tool() def save_responses(sid: int, data: dict[str, Any]) -> bool: """Save responses for a LimeSurvey survey. Args: sid: The survey ID. data: The response data to save. """ with get_client() as client: return client.save_responses(sid, data)