link_decision
Connect decisions to codebase elements like services, files, or contracts using typed relationships such as motivates, constrains, documents, or implements.
Instructions
Link an existing decision to a service, file, symbol, contract, or domain with a typed relationship (motivates, constrains, documents, implements).
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": {
"decision_id": "<decision_id>",
"entity_type": "<entity_type>",
"entity_id": "<entity_id>",
"link_kind": "<link_kind>"
},
"name": "link_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision_id | Yes | ID of the decision to link from | |
| entity_type | Yes | Type of entity being linked | |
| entity_id | Yes | ID of the entity | |
| link_kind | Yes | "motivates" = decision prompted this entity to exist, "constrains" = decision limits how this entity may evolve, "documents" = decision explains this entity, "implements" = entity is the concrete realization of the decision |