sync_file
Sync local files to Confluence pages by uploading content directly from your filesystem to specified URLs, maintaining exact file paths as provided.
Instructions
Sync a LOCAL file to a Confluence page. This tool reads the file directly from the filesystem.
⚠️ CRITICAL INSTRUCTIONS FOR AI:
file_path MUST be the EXACT path specified by the user
Do NOT infer or guess file path based on Confluence page title or URL content
If user says "sync readme.md to URL", find "readme.md" file, NOT files matching page title
If multiple files match, ask user to specify the exact path
This tool handles file reading internally - just pass the path
Examples:
User: "sync readme.md to https://..." → file_path: "/path/to/readme.md" (find readme.md)
User: "sync /docs/guide.md to https://..." → file_path: "/docs/guide.md" (exact path)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Exact local file path to sync. Use the path specified by user, NOT inferred from Confluence URL. | |
| page_url | Yes | Confluence page URL to update | |
| title | No | Override page title (optional) |