mdan_graph_add_node
Add or update a node in the MDAN context graph, storing file hashes to invalidate stale artifacts.
Instructions
Add or update an artifact node in the MDAN context graph (records the file hash for staleness checks)
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": {
"id": "<id>"
},
"name": "mdan_graph_add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique node ID (e.g., prd-001) | |
| path | No | Artifact path relative to the project root | |
| type | No | Node type | artifact |
| agent | No | Agent that created this artifact | |
| workflow | No | Workflow that created this artifact |