swsd_upload_attachment
Uploads files to SWSD incidents, problems, changes, releases, solutions, hardware assets, other assets, or configuration items using base64 content or local file path.
Instructions
Upload an attachment to a SWSD incident, problem, change, release, solution, hardware asset, other asset, or configuration item. Use content_base64 for hosted/HTTP clients; file_path is allowed only on stdio. WRITE — honors SWSD_WRITE_MODE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | File name to show in SWSD. | |
| file_path | No | Local filesystem path. Allowed only when SWSD_TRANSPORT=stdio. | |
| parent_id | Yes | SWSD parent record id. | |
| parent_type | Yes | SWSD parent object type. | |
| content_base64 | No | Base64-encoded file contents. Use this for HTTP transport. |