Clear project graph
clear_project_graphReset the published graph to empty as an explicit, auditable operation. Prior versions stay restorable within retention. Requires a changeNarrative with four plain-language sections written by the caller.
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": {
"projectId": "<projectId>",
"expectedProjectVersion": "<expectedProjectVersion>",
"idempotencyKey": "<idempotencyKey>",
"changeNarrative": "<changeNarrative>"
},
"name": "clear_project_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Owned Brain Scanner project ID from the account's project list; not a local path or repository URL. | |
| sessionId | No | ID of this project's active agent session, returned when the session was started. Not needed for read-only calls. | |
| idempotencyKey | Yes | Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action. | |
| changeNarrative | Yes | Write four short, privacy-filtered summaries: added, updated, removed and relationships. Describe what changed in the graph; use a plain statement when a section has no changes. | |
| expectedProjectVersion | Yes | Current hosted project version from the latest project status read; guards against overwriting a newer graph publication. |