Begin graph upload
begin_project_syncBegin a bounded hosted graph synchronization with four plain-language changeNarrative sections written manually by the publishing agent.
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>",
"declaredChunkCount": "<declaredChunkCount>",
"declaredCanonicalBytes": "<declaredCanonicalBytes>",
"declaredNodeCount": "<declaredNodeCount>",
"declaredEdgeCount": "<declaredEdgeCount>",
"declaredProseBytes": "<declaredProseBytes>",
"idempotencyKey": "<idempotencyKey>",
"changeNarrative": "<changeNarrative>"
},
"name": "begin_project_sync"
}
}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. | |
| executionId | No | Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID. | |
| 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. | |
| mappedRevision | No | Local revision identifier represented by the submitted mapping. | |
| 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. | |
| declaredEdgeCount | Yes | Total number of graph edges declared for the upload. | |
| declaredNodeCount | Yes | Total number of graph nodes declared for the upload. | |
| declaredChunkCount | Yes | Total number of chunks the complete upload will contain. | |
| declaredProseBytes | Yes | Expected number of prose bytes in the graph upload. | |
| declaredCanonicalBytes | Yes | Expected canonical byte count across all chunks. | |
| expectedProjectVersion | Yes | Current hosted project version from the latest project status read; guards against overwriting a newer graph publication. |