gateway_memory_write
Store session/task details or project/team facts in Postgres for persistent context across AI sessions. Enables assistants to retain and reuse memory with scoped, tiered, and tagged entries.
Instructions
Store short-term session/task memory or medium-term project/team facts in Postgres.
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": {
"content": "<content>"
},
"name": "gateway_memory_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | fact | |
| tier | No | short | |
| scope | No | user | |
| content | Yes | ||
| subject | No | ||
| ttl_days | No | ||
| tags_json | No | [] | |
| confidence | No | ||
| source_uri | No | ||
| sensitivity | No | internal | |
| source_type | No | manual | |
| source_title | No | ||
| metadata_json | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |