link_repository
Link an existing source to the repository that holds it, adding an optional call number and skipping duplicate links. Use it to record where a source is archived or stored.
Instructions
Link an existing source to an existing repository that holds it.
Adds a repository reference (with an optional call number) to the source. Both objects must already exist. Duplicate links to the same repository are skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source handle or gramps_id (e.g. 'S0001'). | |
| media_type | No | Medium of the source at the repository, e.g. 'Book', 'Microfilm', 'Electronic', 'Unknown'. | Unknown |
| repository | Yes | Repository handle or gramps_id (e.g. 'R0001'). | |
| call_number | No | Call number / reference within the repository. |