set_domain_membership
Assign files, symbols, or services to domains with AI-inferred or human-confirmed assignments and confidence scores.
Instructions
Assign a file, symbol, or service to a domain. Supports AI-inferred or human-confirmed assignments with a confidence score.
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": {
"domain_id": "<domain_id>",
"entity_type": "<entity_type>",
"entity_id": "<entity_id>"
},
"name": "set_domain_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | Domain ID to add the entity to | |
| entity_type | Yes | Kind of entity being assigned | |
| entity_id | Yes | ID of the file, symbol, or service | |
| confidence | No | Confidence score 0–1 (default 1.0 for human assignments) | |
| source | No | Whether this assignment was AI-inferred or set by a human | human |