add_relationship
Create typed graph edges between entities to establish connections in project memory, enabling structured relationship modeling for AI agents.
Instructions
Create a typed graph edge between two entities.
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": {
"relationship_id": "<relationship_id>",
"from_entity": "<from_entity>",
"to_entity": "<to_entity>",
"relationship_type": "<relationship_type>"
},
"name": "add_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relationship_id | Yes | ||
| from_entity | Yes | ||
| to_entity | Yes | ||
| relationship_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||