file_store
Upload an existing file to obtain a file token for use in SignWell document and template operations.
Instructions
Store a user's existing file for upcoming SignWell requests. Returns a file_token you can pass to document/template tools.
IMPORTANT: This tool is for the USER'S EXISTING FILES only. Do NOT read, parse, or convert the file — upload it as-is.
HOW TO PROVIDE THE FILE (in order of preference):
No arguments — Opens a native OS file picker dialog. USE THIS BY DEFAULT. Simply call file_store with no arguments and the user will select the file themselves.
file_path — Only if the user explicitly provides a local path on their computer (e.g. ~/Documents/contract.docx).
file_url — A publicly accessible URL to the file.
CHAT ATTACHMENTS: When a user uploads/attaches a file in the chat, DO NOT use resource_uri — those are sandboxed and inaccessible. Instead, call file_store with NO arguments to open the native file picker.
CLAUDE-GENERATED FILES: If YOU created the file content (e.g. generated a PDF), do NOT use file_store. Pass file_base64 directly to document_create instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| file_url | No | ||
| file_path | No | ||
| resource_uri | No |