Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| survey:// | |
| survey-group:// | |
| language:// | |
| language://default | |
| server://version | |
| server://db_version | |
| server://site_name | |
| server://users |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_response | Add a response to a LimeSurvey survey. Args:
sid: The survey ID.
response: The response to add. |
| add_responses | Add multiple responses to a LimeSurvey survey. Args:
sid: The survey ID.
responses: The responses to add. |
| update_response | Update a response in a LimeSurvey survey. Args:
sid: The survey ID.
response_id: The response ID.
response: The updated response. |
| delete_response | Delete a response from a LimeSurvey survey. Args:
sid: The survey ID.
response_id: The response ID. |
| save_responses | Save responses for a LimeSurvey survey. Args:
sid: The survey ID.
data: The response data to save. |
| export_responses | Export responses from a LimeSurvey survey. Args:
sid: The survey ID.
file_format: The format to export (csv, json, etc).
language: The language to export (en, es, etc).
heading_type: The type of heading to export (code, full, abbreviated). |
| export_statistics | Export statistics for a LimeSurvey survey. Args:
sid: The survey ID.
document_type: The document type (pdf, xls, html). |
| export_timeline | Export timeline for a LimeSurvey survey. Args:
sid: The survey ID.
start_date: The start date (YYYY-MM-DD).
end_date: The end date (YYYY-MM-DD). |
| add_survey | Add a new LimeSurvey survey. Args:
survey_data: The survey data. |
| copy_survey | Copy a LimeSurvey survey. Args:
sid: The source survey ID.
new_name: The name for the new survey. |
| delete_survey | Delete a LimeSurvey survey. Args:
sid: The survey ID. |
| activate_survey | Activate a LimeSurvey survey. Args:
sid: The survey ID. |
| import_survey | Import a LimeSurvey survey. Args:
survey_file: The survey file content (base64 encoded).
survey_name: The name for the imported survey. |
| set_survey_properties | Set LimeSurvey survey properties. Args:
sid: The survey ID.
properties: The properties to set. |
| add_group | Add a group to a LimeSurvey survey. Args:
sid: The survey ID.
group_data: The group data. |
| delete_group | Delete a group from a LimeSurvey survey. Args:
sid: The survey ID.
gid: The group ID. |
| set_group_properties | Set LimeSurvey group properties. Args:
gid: The group ID.
properties: The properties to set. |
| import_group | Import a group to a LimeSurvey survey. Args:
sid: The survey ID.
group_file: The group file content (base64 encoded).
group_name: The name for the imported group. |
| delete_question | Delete a question from a LimeSurvey survey. Args:
qid: The question ID. |
| set_question_properties | Set LimeSurvey question properties. Args:
qid: The question ID.
properties: The properties to set. |
| import_question | Import a question to a LimeSurvey survey. Args:
sid: The survey ID.
gid: The group ID.
question_file: The question file content (base64 encoded). |
| add_language | Add a language to a LimeSurvey survey. Args:
sid: The survey ID.
language: The language code. |
| delete_language | Delete a language from a LimeSurvey survey. Args:
sid: The survey ID.
language: The language code. |
| set_language_properties | Set LimeSurvey language properties. Args:
lid: The language ID.
properties: The properties to set. |
| add_participants | Add participants to a LimeSurvey survey. Args:
sid: The survey ID.
participant_data: The participant data. |
| delete_participants | Delete participants from a LimeSurvey survey. Args:
sid: The survey ID.
tokens: The participant tokens. |
| invite_participants | Invite participants to a LimeSurvey survey. Args:
sid: The survey ID.
tokens: The participant tokens. If None, invite all participants. |
| set_participant_properties | Set LimeSurvey participant properties. Args:
token: The participant token.
sid: The survey ID.
properties: The properties to set. |
| import_cpdb_participants | Import participants from the central participant database. Args:
sid: The survey ID.
attributes: The attributes to filter participants. |
| activate_tokens | Activate tokens for a LimeSurvey survey. Args:
sid: The survey ID. |
| add_quota | Add a quota to a LimeSurvey survey. Args:
sid: The survey ID.
quota_data: The quota data. |
| delete_quota | Delete a LimeSurvey quota. Args:
id: The quota ID. |
| set_quota_properties | Set LimeSurvey quota properties. Args:
id: The quota ID.
properties: The properties to set. |
| upload_file | Upload a file to a LimeSurvey survey. Args:
sid: The survey ID.
file_content: The file content (base64 encoded).
file_name: The file name. |
| download_files | Download files from a LimeSurvey survey. Args:
sid: The survey ID.
file_id: The file ID. If None, download all files. |