memento_graph
Manage a project memory graph to store entities and relations, query dependencies, assess impact, and summarize context for AI agents.
Instructions
Manage the Project Memory Graph. Actions: add_entity, add_relation, query, impact, summary.
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": {
"action": "<action>"
},
"name": "memento_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Entity name for add_entity. | |
| depth | No | Traversal depth for query (1=direct, 2=one hop further). | |
| action | Yes | Action to perform. | |
| object | No | Target entity name for add_relation. | |
| subject | No | Source entity name for add_relation. | |
| predicate | No | Relation: depends_on, blocks, implements, breaks, supersedes, relates_to, part_of, uses. | |
| properties | No | JSON string of additional entity properties. | |
| entity_name | No | Entity name for query / impact. | |
| entity_type | No | Entity type: file, component, decision, bug_fix, feature, session, module, api. | |
| workspace_root | No |