Align entities
align_entitiesCreate an alignment edge from a source entity to a target entity (e.g. a task to a goal, a project to a goal, a goal to a strategy), which places the source under the target in the alignment hierarchy. Idempotent: repeating the call for an existing edge changes nothing. Both IDs must already exist (find them with the list_ tools). Recorded in the audit log as an AI action and triggers a Work Graph recompute; aligning a task also closes its pending alignment suggestions. Undo with remove_alignment. Returns { status: "ALIGNED" } with the edge.
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": {
"sourceType": "<sourceType>",
"sourceId": "<sourceId>",
"targetType": "<targetType>",
"targetId": "<targetId>"
},
"name": "align_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | Yes | Source entity ID | |
| targetId | Yes | Target entity ID | |
| sourceType | Yes | Source entity type: TASK, GOAL, KPI, or PROJECT | |
| targetType | Yes | Target entity type: STRATEGY, GOAL, KPI, or PROJECT | |
| relationType | No | Relationship type: CONTRIBUTES_TO (default) or ALIGNED_TO |