Relay attached file
relay_attached_fileChatGPT only: relay a file from the conversation (the host passes it as a file reference) and get a temporary download 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": "<file>"
},
"name": "relay_attached_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File reference provided by the host. | |
| filename | No | Optional file name override. | |
| ttl_hours | No | Hours until the download link expires. Default 24, maximum 168 (7 days). |