project_add_relationship
Register a typed link between two projects to track dependencies, shared schemas or infrastructure, API consumption, forks, and pattern sources in the project knowledge graph.
Instructions
Register a relationship between two projects (e.g., depends_on, api_consumer, shares_schema, shares_infra, pattern_source, forked_from).
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": {
"from": "<from>",
"to": "<to>",
"type": "<type>"
},
"name": "project_add_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target project slug | |
| from | Yes | Source project slug | |
| type | Yes | Relationship type (e.g., depends_on, api_consumer, shares_schema) | |
| details | No | Optional relationship metadata |