import_arms
Create or update arms in a longitudinal REDCap project using a JSON array. Optionally override to replace existing arms with the provided set.
Instructions
Import (create or update) arms in a longitudinal REDCap project.
Args: data: JSON array of arm objects, each with arm_num and name fields. override: If True, existing arms not in the import will be deleted.
Returns: Confirmation message with the count of imported arms.
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": {
"data": "<data>"
},
"name": "import_arms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |