set_affiliation
Creates an affiliation for a person by resolving an organization ID or finding/creating the organization by name, then records the role and optional validity and confidence.
Instructions
Create an affiliation, resolving an org id or get/creating by name.
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": {
"person_id": "<person_id>",
"org": "<org>",
"role": "<role>"
},
"name": "set_affiliation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | ||
| role | Yes | ||
| valid_to | No | ||
| person_id | Yes | ||
| confidence | No | ||
| valid_from | No |