Write event
write_eventRecords an episodic event (what happened, a decision, a result) in the persona's memory.
`project_scope`: the project the entry belongs to. Omitted, the session's
project is used (the `X-Project-Scope` header, otherwise the server
default). Pass "global" for the general memory shared by all projects,
only for what holds in every project; the general memory is read on the
Pro plan only.
Before writing, a similarity search reports a probable duplicate in
`warning`; the event is written anyway.
Content: facts, with code, paths and figures kept exact. At most 3 000
characters; a new title at most 120.
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_md": "<content_md>"
},
"name": "write_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| entities | No | ||
| content_md | Yes | ||
| participants | No | ||
| persona_slug | No | ||
| project_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||