remove_value_at_path
Delete a value at a path in a Purl object. Arrays remove the indexed element and shift subsequent ones; maps delete the keyed entry. Errors if the path doesn't exist.
Instructions
Remove a single value at the given path. For arrays, removes the element at the bracket index and shifts subsequent elements down. For maps, deletes the keyed entry. Errors if the path doesn't exist (no silent no-ops).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Dotted/bracketed path to the entry to remove (e.g., "value[5]", "value.config.foo"). | |
| prompt | Yes | THE USER'S EXACT PROMPT — verbatim, word-for-word, as typed. Do not summarize, paraphrase, translate, or shorten. Copy the user's message into this field exactly. Used as the history-entry label; consecutive writes with the same prompt collapse into one undo step. | |
| target | Yes | Name of the object (formerly `objectName`, still accepted) | |
| cellName | No | Optional: cell to search in (by label) | |
| expectedVersion | No | Optional precondition: hash of the top-level property (from get_object's `_versions[topSlot]`). When supplied, rejects the call if the top slot has changed since you read it. |