get_record
Retrieve a single record from a Deriva table using its RID, returning the full record as JSON.
Instructions
Get a single record by its RID.
Args: table_name: Name of the table containing the record. rid: The RID of the record to fetch.
Returns: JSON with the complete record or error if not found.
Example: get_record("Image", "1-ABC") -> full image record
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rid | Yes | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |