add_instrument
Add a new instrument (form) to your REDCap project by creating a placeholder field, which you can replace with real fields later.
Instructions
Add a new instrument (form) to the project.
Creates the instrument by inserting a placeholder descriptive field. REDCap requires at least one field per instrument; the placeholder can be removed later once real fields have been added via add_field.
Note: the instrument display label defaults to the prettified form_name and can only be changed in the REDCap UI (Designer → instrument name).
Args: form_name: Internal name for the instrument (lowercase, underscores, no spaces).
Returns: Confirmation message with the placeholder field name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |