生成上传链接
create_upload_linkCreate a temporary upload link that lets recipients upload files via browser, then provides an identifier code for retrieval.
Instructions
生成一个临时上传页面链接,可以直接发给人类用户在浏览器里上传文件。 用户上传完成后会得到标识码,把标识码告知你即可用 download_file 取用。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 展示给上传者的说明,例如“请上传营业执照扫描件” | |
| maxUses | No | 最多可上传次数,默认 1 | |
| fileTtlHours | No | 通过该链接上传的文件保留时长(小时),默认 24 | |
| expiresInMinutes | No | 链接有效期(分钟),默认 60 |