export_pdf
Export REDCap instrument data as a PDF for one or all records, with options for event, instrument, and compact display.
Instructions
Export a PDF of one or all instruments for a record.
Args: record: Record ID to export. None exports all records (use with caution). event: Event name (longitudinal projects only). instrument: Specific instrument to export. None exports all instruments. repeat_instance: Repeat instance number for repeating instruments/events. compact_display: If True, uses compact PDF layout.
Returns: JSON object with base64-encoded PDF content.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | ||
| record | No | ||
| instrument | No | ||
| compact_display | No | ||
| repeat_instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |