update_url
Correct or remove one existing URL entry on a person, place, or repository when it was filed under the wrong link type, leaving all other fields unchanged.
Instructions
Edit or remove ONE existing URL entry on a person, place, or repository.
add_url can only append -- this corrects an entry already there (the classic case: a Find a Grave link filed under the wrong type). The other fields on the object are untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New URL path. Omit to keep. | |
| match | Yes | Case-insensitive substring identifying WHICH url entry to edit, tested against each entry's path and description (e.g. 'findagrave.com/memorial/123'). Must match exactly one entry; matching none or several returns the candidate list instead of guessing. | |
| remove | No | Remove the matched entry instead of editing it. | |
| target | Yes | Handle or gramps_id of the object. | |
| url_type | No | New URL type, e.g. 'Find A Grave', 'Web Home Page'. Omit to keep. | |
| description | No | New link description. Omit to keep. | |
| object_type | Yes | Type of the object: 'person', 'place', or 'repository' only. |