Write Studocu Agent Memory
write-memoryDestructive
Upsert one durable memory document per (scope, kind) for the authenticated user. Provide project_id for project-local memory, or null/omit for global. Identity comes from Core via the session bearer, not from input.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Memory kind, e.g. study_preference or project_learning_context. | |
| value | Yes | Freeform memory document. MVP convention is { content: string }. | |
| project_id | No | Project UUID for project-local memory; null or omitted stores global (user-level) memory. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Memory kind that was written. | |
| value | Yes | Stored memory document. | |
| userId | Yes | Owner of the memory document. | |
| createdAt | Yes | Creation timestamp of the row. | |
| projectId | Yes | Owning project UUID, or null for global memory. | |
| updatedAt | Yes | Last write timestamp of the row. |