reconcile
Compare local audit logs with Derive's actual order state to detect missing or mismatched orders, then append correction events to sync the log when auto-fix is enabled.
Instructions
Compare local audit log against Derive's actual order state. Detects: orders on Derive not in local log (placed via raw tools), local orders marked as open that Derive shows as filled/cancelled. With auto_fix=true, appends correction events to bring local log in sync.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reconcile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_fix | No | If true, append correction events to sync local audit log with Derive state. Does NOT mutate existing events — only appends new correction/backfill events. | |
| subaccount_id | No | Subaccount ID (defaults to configured) |