Upload a Test Manager Attachment
tm.upload_attachmentUpload a local file to Test Manager attachment storage, returning a file key and temporary URL. The file key is required for tools like test case step updates.
Instructions
Uploads a local file (given by its path on this machine) to Test Manager's attachment storage. Returns the uploaded file's file_key, file name, and a presigned URL. Use the file_key (not the URL) with tools that accept attachment_urls, e.g. tm.update_testCaseInstanceStep - despite that field's name, it expects file_key values. The returned URL is only useful for immediately previewing the upload; it's time-limited, not a permanent link. Do not call this speculatively - it performs a real upload.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "tm.upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |