stage_candidates
Load extracted people, interactions, and relationship candidates into local memory for review and storage. Converts raw extraction output into structured, batched records.
Instructions
Stage agent-extracted people, interactions, affiliations, facts, observations, traits, and relationships.
Use this after extracting concise candidates from user-provided notes, meeting transcripts, or other
agent-visible text. Distinguish what was stated (fact), what happened in this source (observation),
and what you inferred (trait, which requires an explicit confidence and a concise evidence_note).
Relationship candidates carry batch-local from_ref/to_ref and are ordinary-disclosure only: omit a
relationship the user would consider sensitive or restricted rather than staging it.
References are batch-local; raw notes and source text must not be included in candidate fields. A
request using observation, trait, or relationship is bounded to 500 candidates, a 128-character
source, 1 MiB of candidate JSON, and 8 KiB per string.
A trait may name the records it was drawn from. Give a supporting observation or interaction any
short evidence_ref label of your own and list those labels in the trait's evidence_refs; use
evidence_ids for records already stored. Evidence must be about the trait's own person, and one trait
cites at most 32 references and ids combined, each at most 256 characters.
source_kind optionally records an import receipt for this batch. It is a machine category such as
meeting_transcript, at most 128 characters of letters, digits, ., _, -, or / — never a person,
a title, or a description; put any human wording in label instead. If you can compute a SHA-256 over
the exact source artifact, pass it as content_digest (64 lowercase hex characters) so re-importing that
same source can be detected; without one, no duplicate detection is promised. extraction_fingerprint
is optional and should be omitted unless you have explicit, bounded configuration semantics for it.
None of these fields may carry source text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| source | Yes | ||
| candidates | Yes | ||
| source_kind | No | ||
| content_digest | No | ||
| external_source_id | No | ||
| extraction_fingerprint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||