record
Save structured or free-text facts to Mnemento, resolve entity targets, and flag ambiguities, duplicates, or invalid entries before storage.
Instructions
Record a fact. Either structured or free text.
Structured: entity_type + kind (created | updated | status_changed | corrected | retracted)
+ payload, and the target by entity_id or match (field values, e.g. {"platform": "saramin",
"posting_id": "10000001"}). Reference fields may hold a name (e.g. a company name).
Free text: text="사람인 10000001 가상테크 열람" — the Keeper structures it.
at: when it happened (ISO 8601 with offset); defaults to now. at_precision: time | date (only the
day is known) | unknown. by: your agent name.
evidence: why you believe it (quote, mail subject...).
Fields or values the dictionary does not know are stored as given (drafts, queryable at once); the
reply lists them under `drafts` and may ask under `questions` whether a new name means an existing one.
New kind of record (entity_type not in list_schemas, kind created): it is stored at once under a new draft
type. Send schema_draft with it — the schema you suggest: {"description", "keywords", "fields": {name:
{"type", "description", "enum", "labels", "required", "indexed", "format"}}}; you know best what each field
means now. The reply carries a proposal under `proposals`: ask the user, and on their yes call
apply_schema_proposal. If the name looks like an existing type you are asked first (new_type=true confirms).
Returns status:
recorded — stored (check `drafts` and `questions`);
clarify — nothing stored: the target is ambiguous (several matches), a referenced name (e.g. a
company) is unknown or only similar, the record looks like a duplicate, or it contradicts
the current state; ask the user and call again;
rejected — nothing stored: a registered field is violated (required field missing, wrong type, bad
date) or the target was looked up by an unregistered field;
error — free text could not be structured (no LLM configured or the call failed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| by | Yes | ||
| kind | No | ||
| text | No | ||
| match | No | ||
| payload | No | ||
| evidence | No | ||
| new_type | No | ||
| entity_id | No | ||
| entity_type | No | ||
| at_precision | No | time | |
| schema_draft | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||