import_records
Import records into a REDCap project by supplying a JSON array with each record's ID. Get confirmation with the imported count.
Instructions
Import records into the REDCap project.
Args: data: JSON array string of records to import. Each record must include the project's record ID field.
Returns: Confirmation message with the count of imported records.
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_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |