prolog_retract
Remove matching facts or rules from a specified Prolog layer. Deletion persists to disk and survives daemon restarts.
Instructions
Retract matching facts or rules from a layer. Removes from disk and reloads — retraction survives daemon restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | Prolog fact or rule head to retract, e.g. 'handles(billing, telegram)' | |
| layer | Yes | 'agent:<id>' or 'session:<id>' — must include the colon and an id |