memory_relation_define
Define a custom relation in the memory graph when no built-in fits. Supports transitive closure and inverse pairing, with soft type expectations that warn on mismatch.
Instructions
Add a relation to the closed graph vocabulary — a deliberate, rare
act. Prefer the builtins; define one only when a recurring connection
genuinely fits none of them. Supports transitive closure
(transitive=true) and inverse pairing (inverse_of, like
runs-on ↔ hosts); soft src_type/dst_type expectations
warn on mismatch but never reject.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| dst_type | No | ||
| src_type | No | ||
| inverse_of | No | ||
| transitive | No | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||