Upload attachment
redmine_upload_attachmentUpload a local file to Redmine and get an upload token. The token must be used promptly to attach the file in a create or update issue call.
Instructions
Upload a local file to Redmine and get back an upload token. This is the first half of a two-step flow and does nothing visible on its own: the token is not attached to anything until you pass it to redmine_create_issue or redmine_update_issue in their uploads array (e.g. uploads: [{ token, filename, description }]) — the returned object is already shaped for exactly that. Tokens expire, so make the second call promptly. The file must sit inside the operator-configured REDMINE_ALLOWED_DIRECTORIES, and Redmine may reject files over its own attachment size limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the local file to upload. It must resolve to a location inside one of the directories the operator allowlisted in REDMINE_ALLOWED_DIRECTORIES; anything else — including a symlink pointing out of them — is refused. If no directory is allowlisted, file access is disabled entirely. | |
| description | No | Optional caption for the attachment. It is not stored by the upload itself — it is returned so you can pass it along in the `uploads` entry. |