push_documents
Upload local files to a project while skipping unchanged documents, previewing changes with dry run, and protecting remote files from deletion.
Instructions
Upload a local folder's files into the project. Unchanged files are skipped, differing ones need overwrite=true, and remote documents missing locally are never deleted. Use dry_run=true to preview. Stops at the first file that would grow the project past its search threshold or its maximum (allow_search_mode=true accepts the threshold); files already pushed stay. Relay any warning in the result to the user verbatim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| pattern | No | *.md | |
| overwrite | No | ||
| project_id | Yes | ||
| source_directory | Yes | ||
| allow_search_mode | No |