Apply a previewed Markdown batch
apply_importApply preview_import batchId within 15 minutes (same tenant process). Additive: preserves existing different files and reports conflicts. Immediately keyword searchable; on a workspace with semantic search the new notes are then embedded in the background (memory_status says semantic: false until they are). No fact extraction. Returns batchId for undo_import; retries are idempotent.
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": {
"batchId": "<batchId>"
},
"name": "apply_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| recall | No | ||
| batchId | Yes | ||
| conflicts | No | ||
| indexRows | No | ||
| namespace | No | ||
| destination | No | ||
| notesWritten | No | ||
| eventsAppended | No | ||
| ledgerReplayed | No | ||
| notesUnchanged | No | ||
| notesConflicting | No | ||
| eventsAlreadyPresent | No |