add_persona_fact
Record a conclusion about a person's role or relationship, attaching the verbatim evidence sentence so later readers can verify the inference.
Instructions
Record what you concluded about a person from the persona evidence — for example "the hospital pharmacist" for someone whose address form is "Lin pharmacist" and whose delegated work is invoice processing. Yomi has no role vocabulary, so this is where your reading of the evidence becomes part of the graph. The quoted sentence you pass as evidence is kept, so a later reader can check the conclusion against the words it came from.
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": {
"subject_name": "<subject_name>",
"term": "<term>",
"evidence": "<evidence>"
},
"name": "add_persona_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | The role, in your own words (e.g. "hospital pharmacist", "wife", "company finance"). | |
| origin | No | Optional: 'named' when you concluded it from the evidence (default), or 'stated' when the owner told you outright. | |
| category | No | Optional: family, household, workplace, professional, client, or other. | |
| evidence | Yes | The quoted sentence the conclusion rests on, copied verbatim from the evidence in the graph. | |
| instances | No | Optional: how many independent pieces of evidence back this (default 1). | |
| confidence | No | Optional: confidence in [0,1] (default 0.5). | |
| subject_mid | No | Optional: the person's LINE MID, when the graph gave you one. More reliable than the name. | |
| subject_name | Yes | The person's name, as it appears in the graph (e.g. "Lin Jialin"). Used to match the fact to a person. |