Attach a STEM file to a memory
attach_fileLink an existing ready private file to an existing memory in this same STEM account. The file remains private; this does not create a sharing link.
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_id": "<file_id>",
"memory_id": "<memory_id>"
},
"name": "attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Existing private STEM file ID returned by upload_file or list_files. | |
| memory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| fileId | No | ||
| private | No | ||
| memoryId | No |