edubase_post_exam_fields
Update an exam's built-in user data fields and replace its complete custom fields list; clears the results identifier if the chosen custom field is no longer a unique free-text field.
Instructions
Change the built-in user data fields of an exam, and replace the complete list of its custom fields. The view_results_identifier setting of the exam is cleared when the selected custom field is not a unique free text field anymore.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exam": "<exam>"
},
"name": "edubase_post_exam_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exam | Yes | exam identification string | |
| name | No | request the full name of the examinee (true: use the field with its default label, false: do not use the field but keep its other settings, any other value is used as the label of the field) | |
| No | request the email address of the examinee (true: use the field with its default label, false: do not use the field but keep its other settings, any other value is used as the label of the field) | ||
| phone | No | request the phone number of the examinee (true: use the field with its default label, false: do not use the field but keep its other settings, any other value is used as the label of the field) | |
| fields | No | the custom fields of the exam, in the order they are shown to the examinee, the submitted list replaces the current one so send every custom field that should be kept, use edubase_delete_exam_fields to remove every custom field |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exam | Yes | ||
| name | Yes | ||
| Yes | |||
| phone | Yes | ||
| fields | Yes |