push_documents
Upload local text files to a project, skipping unchanged files and requiring overwrite for differing ones. Preview with dry-run to avoid exceeding project size limits.
Instructions
Upload a local folder's text files into the project. Unchanged files are skipped, differing ones need overwrite=true, and remote documents missing locally are never deleted; the project's uploaded files are untouched and cannot be pushed. 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 |