preview_directory_sync
Preview uploads to check files, sizes, hashes, basename collisions, and Lua validation before syncing. Respects bwconfig.lua and reports delete-all behavior.
Instructions
Preview upload files, sizes, hashes, basename collisions, and Lua validation without uploading.
Context: Use before normal directory sync. It respects bwconfig.lua, excludes legacy generated helpers, and reports intentional delete-all behavior. No token is required and no local files are changed. This cannot inspect remote editor state.
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": {
"directory": "<directory>"
},
"name": "preview_directory_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validate | No | ||
| directory | Yes | ||
| allow_empty | No | ||
| glob_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||