Erinys Save
erinys_saveSaves structured observations to ERINYS memory, records author provenance, and enforces optional project/scope gates to block unauthorized writes.
Instructions
Save a structured observation to ERINYS memory.
principal: この記憶を書いた主体(例 claude-opus-4-8 / codex)。省略時は env ERINYS_PRINCIPAL → "unknown"。VMG provenance に記録される。
P0-7 (opt-in): allowed_projects / allowed_scopes は書き込み許可の access gate。明示引数 > env(ERINYS_ALLOWED_PROJECTS / ERINYS_ALLOWED_SCOPES)> 無効(None)。どれも設定されなければ従来どおり無条件に保存する。許可外の project/scope への書き込みは POLICY_DENIED で拒否する。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"content": "<content>"
},
"name": "erinys_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | manual | |
| scope | No | project | |
| title | Yes | ||
| content | Yes | ||
| project | No | ||
| metadata | No | ||
| principal | No | ||
| topic_key | No | ||
| session_id | No | ||
| source_class | No | ||
| allowed_scopes | No | ||
| allowed_projects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||