swsd_upload_attachment
Upload attachments to SWSD records: incidents, problems, changes, releases, solutions, assets, and configuration items. Accepts base64 content for HTTP clients or file path for stdio transport.
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 (maximum 255 characters). | |
| 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. |